Skip to content

Commit

Permalink
Install certificate in the docker image for secured https connection (#…
Browse files Browse the repository at this point in the history
…13)

* add ca certificate to the docker image to make secured connection
  • Loading branch information
Ankit kumar sinha committed Apr 20, 2020
1 parent 8bd7c30 commit 396e850
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM debian:latest AS builder
LABEL maintainer="[email protected]"

# add ca certificates for http secured connection
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/cache/apk/*

# copy the binary
WORKDIR /root/
ARG GO_BINARY
Expand Down

0 comments on commit 396e850

Please sign in to comment.