Skip to content

Commit

Permalink
fix: resolve issue where kaniko would fail if user attempted to creat…
Browse files Browse the repository at this point in the history
…e /workspace directory
  • Loading branch information
aaron-prindle committed Oct 10, 2023
1 parent 2ca710a commit b13cbab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ COPY --from=builder /kaniko/.docker /kaniko/.docker

ENV DOCKER_CONFIG /kaniko/.docker/
ENV DOCKER_CREDENTIAL_GCR_CONFIG /kaniko/.config/gcloud/docker_credential_gcr_config.json
WORKDIR /workspace

### FINAL STAGES ###

Expand Down
4 changes: 2 additions & 2 deletions integration/dockerfiles/Dockerfile_relative_copy
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM alpine@sha256:5ce5f501c457015c4b91f91a15ac69157d9b06f1a75cf9107bf2b62e0843983a
COPY foo foo
COPY foo /foodir/
COPY /workspace/foo /workspace/foo
COPY /workspace/foo /foodir/

0 comments on commit b13cbab

Please sign in to comment.