Skip to content

Commit

Permalink
fix: provide ca certificates for aws sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
luiscarlosjayk committed Jun 21, 2024
1 parent 4564536 commit 8ca5447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion auth-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ sqlx = { version = "0.7.4", features = [
argon2 = { version = "0.5.3", features = ["std"] }
redis = { version = "0.25.4", features = ["tokio-comp"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter"] }
tracing-subscriber = { version = "0.3.18", features = [
"registry",
"env-filter",
] }
thiserror = "1.0.61"
color-eyre = "0.6.3"
tracing-error = "0.2.0"
Expand Down
2 changes: 2 additions & 0 deletions auth-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN cargo build --release --bin auth-service
# We do not need the Rust toolchain to run the binary!
# Start with a minimal image and copy over the binary and assets folder.
FROM debian:buster-slim AS runtime
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
RUN update-ca-certificates
WORKDIR /app
COPY --from=builder /app/target/release/auth-service /usr/local/bin
COPY --from=builder /app/assets /app/assets
Expand Down

0 comments on commit 8ca5447

Please sign in to comment.