Skip to content

Commit

Permalink
Install CA certificates in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Apr 27, 2024
1 parent 13f4fa7 commit ce8a74a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ RUN GOOS=linux CGO_ENABLED=1 go build cmd/terraform-backend.go
# start clean for final image
FROM debian:12

RUN apt-get -q update && \
apt-get -yq install ca-certificates && \
apt-get autoclean

COPY --from=builder /go/src/github.com/nimbolus/terraform-backend/terraform-backend /terraform-backend

ENTRYPOINT ["/terraform-backend"]

0 comments on commit ce8a74a

Please sign in to comment.