Skip to content

Commit

Permalink
Merge pull request #218 from dlorenc/workdir
Browse files Browse the repository at this point in the history
Set a workdir so paths can be relative to /workspace.
  • Loading branch information
priyawadhwa authored Jun 26, 2018
2 parents d411bd6 + cc44708 commit 81f5208
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ ENV PATH /usr/local/bin:/kaniko
ENV SSL_CERT_DIR=/kaniko/ssl/certs
ENV DOCKER_CONFIG /kaniko/.docker/
ENV DOCKER_CREDENTIAL_GCR_CONFIG /kaniko/.config/gcloud/docker_credential_gcr_config.json
WORKDIR /workspace
RUN ["docker-credential-gcr", "config", "--token-source=env"]
ENTRYPOINT ["/kaniko/executor"]

0 comments on commit 81f5208

Please sign in to comment.