Skip to content

Commit

Permalink
Update the Dockerfile to install ca-certificates for TLS envs.
Browse files Browse the repository at this point in the history
In particular setups using TLS, Levant will need the
ca-certificates package installed in order to make use of trusted
system CA certificates. Without this executing Levant results in
the error "failed to load system roots".
  • Loading branch information
jrasell committed Dec 6, 2017
1 parent 6139de6 commit 2bb1fc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ RUN apk add --no-cache make \

FROM alpine:latest

RUN apk add --no-cache ca-certificates

COPY --from=builder /go/bin/levant /usr/bin/levant
CMD ["levant", "--help"]
CMD ["levant", "--help"]

0 comments on commit 2bb1fc4

Please sign in to comment.