Skip to content

Commit

Permalink
fix: add root CA bundle to docker image (grafana#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-j committed Nov 4, 2021
1 parent b623b07 commit 12b4d0b
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 @@ -23,6 +23,10 @@ COPY version/ version/
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -a -o manager main.go

FROM --platform=${TARGETPLATFORM} registry.access.redhat.com/ubi8/ubi-micro:8.4

# copy Root CA bundle from ubi-minimal
COPY --from=registry.access.redhat.com/ubi8/ubi-minimal:8.4 /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt

WORKDIR /
COPY --from=builder /workspace/manager .

Expand Down

0 comments on commit 12b4d0b

Please sign in to comment.