Skip to content

Commit b4181be

Browse files
committed
ci: 🐛 add ca-certificates
1 parent dd3295d commit b4181be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ RUN cargo build --release
1919

2020
# Second stage putting the build result into a debian jessie-slim image
2121
FROM debian:stable-slim
22+
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && \
23+
apt-get clean && \
24+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2225
COPY --from=rust-builder /build/target/release/s-backup /usr/local/bin/
2326
WORKDIR /usr/local/bin
2427
CMD ["s-backup"]

0 commit comments

Comments
 (0)