-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative paths don't work with --context
, --tarPath
, and others...
#732
Labels
area/cli
bugs related to kaniko CLI
kind/bug
Something isn't working
priority/p3
agreed that this would be good to have, but no one is available at the moment.
work-around-available
Comments
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 9, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#31 GoogleContainerTools#675
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 9, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#31 GoogleContainerTools#675
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 9, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#31 GoogleContainerTools#675
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 9, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 9, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 19, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
huguesalary
added a commit
to huguesalary/kaniko
that referenced
this issue
Aug 27, 2019
The executor accepts a few arguments dockerfile, context, cache-dir and digest-file that all represent paths. This commits allows those paths to be relative to the working directory of the executor. Fixes GoogleContainerTools#732 GoogleContainerTools#731 GoogleContainerTools#675
tejal29
added
the
priority/p3
agreed that this would be good to have, but no one is available at the moment.
label
Sep 13, 2019
This should be fixed by #736 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/cli
bugs related to kaniko CLI
kind/bug
Something isn't working
priority/p3
agreed that this would be good to have, but no one is available at the moment.
work-around-available
Actual behavior
Upon executing, the
executor
binary changes its root directory to/
as seen here https://github.com/GoogleContainerTools/kaniko/blob/master/cmd/executor/cmd/root.go#L84This prevents the use of relative directories in the
executor
command line arguments.For example:
/tmp/build
myworkspace/
containing theDockerfile
(i.e./tmp/build/myworkspace/Dockerfile
)Expected behavior
Kaniko should allow the use of relative paths in its command line and honor them.
Additional Information
The current behavior is also confusing because the
--dockerfile
argument does allow a relative path.That is, the following command line works:
But fails as soon as the Dockerfile tries to use a "workspace" file
Related issues
#731
#675
The text was updated successfully, but these errors were encountered: