Skip to content

Commit 928c620

Browse files
committed
build: add certificates to docker image
1 parent 71870dd commit 928c620

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/Dockerfile.latest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ RUN tar -xzf wick.tar.gz
2020
FROM ubuntu:latest
2121
LABEL org.opencontainers.image.source="https://github.com/candlecorp/wick"
2222

23-
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates
23+
RUN apt-get update && apt-get install -y ca-certificates
24+
2425
COPY --from=builder /opt/wick /usr/bin/wick
2526
RUN chmod +x /usr/bin/wick
2627
WORKDIR /app

docker/Dockerfile.nightly

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ RUN tar -xzf wick.tar.gz
2020
FROM ubuntu:latest
2121
LABEL org.opencontainers.image.source="https://github.com/candlecorp/wick"
2222

23-
COPY --from=builder /usr/share/ca-certificates /usr/share/ca-certificates
23+
RUN apt-get update && apt-get install -y ca-certificates
24+
2425
COPY --from=builder /opt/wick /usr/bin/wick
2526
RUN chmod +x /usr/bin/wick
2627
WORKDIR /app

0 commit comments

Comments
 (0)