Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

set SSL_CERT_DIR to get gcr docker-credential-helper working #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ RUN make lbins
FROM scratch
COPY --from=builder /workspace/github.com/uber/makisu/bin/makisu/makisu.linux /makisu-internal/makisu
ADD ./assets/cacerts.pem /makisu-internal/certs/cacerts.pem
# Required for embedded GCR docker-credential-helper to work correctly
ENV SSL_CERT_DIR /makisu-internal/certs

ENTRYPOINT ["/makisu-internal/makisu"]
2 changes: 2 additions & 0 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ RUN apk add --no-cache libc6-compat

COPY --from=builder /workspace/github.com/uber/makisu/bin/makisu/makisu /makisu-internal/makisu
ADD ./assets/cacerts.pem /makisu-internal/certs/cacerts.pem
# Required for embedded GCR docker-credential-helper to work correctly
ENV SSL_CERT_DIR /makisu-internal/certs

ENTRYPOINT ["/makisu-internal/makisu"]