Skip to content

Commit 7ab0bb0

Browse files
committed
Docker: add ca-certificates
1 parent 3d94e49 commit 7ab0bb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ RUN set -x \
2020
&& go version \
2121
&& CGO_ENABLED=0 go build -trimpath -ldflags "$LDFLAGS" -o /src/cdn-uncompress cmd/*.go
2222

23+
RUN apk add -U --no-cache ca-certificates
24+
2325
##################################### Compression #####################################
2426

2527
FROM hatamiarash7/upx:latest as upx
@@ -48,4 +50,6 @@ LABEL \
4850

4951
COPY --from=upx /cdn /cdn
5052

53+
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
54+
5155
ENTRYPOINT ["/cdn"]

0 commit comments

Comments
 (0)