Skip to content

Commit c5b6aaf

Browse files
Add ca-certificates to Docker image (#32)
* Add ca-certificates to Docker image * Add apt cleanup --------- Co-authored-by: Dee Kryvenko <109895+dee-kryvenko@users.noreply.github.com>
1 parent 05228f3 commit c5b6aaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ RUN mkdir bin && go build \
1010

1111
FROM debian:buster
1212

13+
# Include CA Certs to resolve TLS handshakes
14+
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y ca-certificates && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
15+
1316
COPY --from=build /go/delivery/bin /usr/bin

0 commit comments

Comments
 (0)