Skip to content

Commit

Permalink
Add ca-certificates package to Dockerfile (#35)
Browse files Browse the repository at this point in the history
This adds the CA bundles to the container
  • Loading branch information
idelsink authored Apr 27, 2024
1 parent c56209c commit cd7aa5b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ COPY . .
RUN cargo install --path ./autokuma

FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y libssl3 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y \
ca-certificates \
libssl3 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/autokuma /usr/local/bin/autokuma

CMD ["autokuma"]
5 changes: 4 additions & 1 deletion Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ COPY . .
RUN cargo install --path ./kuma-cli

FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y libssl3 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y \
ca-certificates \
libssl3 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/kuma /usr/local/bin/kuma

ENTRYPOINT ["kuma"]
Expand Down

0 comments on commit cd7aa5b

Please sign in to comment.