Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 0270276

Browse files
authored
fix(docker): needs cacerts and ssl (#19)
* fix(docker): needs cacerts and ssl * fix(ci): cargo configuration to fix ci
1 parent 4e806dc commit 0270276

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.config/config.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[net]
2+
retry = 5
3+
git-fetch-with-cli = true
4+
5+
[http]
6+
proxy = ""

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ RUN cargo build --release --target x86_64-unknown-linux-gnu --bin zenith-builder
3131

3232
# Stage 3: Final image for running in the env
3333
FROM --platform=$TARGETPLATFORM debian:bookworm-slim
34+
RUN apt-get update && apt-get -y upgrade && apt-get install -y libssl-dev ca-certificates
3435

3536
COPY --from=builder /app/target/x86_64-unknown-linux-gnu/release/zenith-builder-example /usr/local/bin/zenith-builder-example
3637

0 commit comments

Comments
 (0)