Skip to content

Commit

Permalink
Move to alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Hampton Moore committed Jan 16, 2024
1 parent 6e16ee1 commit 6013f2b
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 3 deletions.
102 changes: 102 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kuchiki = "0.8.1"
log = "0.4.20"
maud = { version = "0.26.0", features = ["axum"] }
rand = "0.8.5"
reqwest = "0.11.23"
reqwest = { version = "0.11.23", features = ["rustls-tls"] }
serde = { version = "1.0.194", features = ["derive"] }
serde_json = "1.0.110"
tokio = { version = "1.35.1", features = ["full"] }
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM rust:1.75-bullseye as builder
FROM rust:1.75-alpine3.19 as builder

# Copy the source code
ADD . .
Expand All @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --release

# Final stage
FROM debian:bullseye
FROM alpine:3.19


ENV COMMIT=${COMMIT}
Expand Down

0 comments on commit 6013f2b

Please sign in to comment.