Skip to content
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

Default PATH different to docker-build's #650

Closed
djuarezg opened this issue Apr 30, 2019 · 1 comment
Closed

Default PATH different to docker-build's #650

djuarezg opened this issue Apr 30, 2019 · 1 comment

Comments

@djuarezg
Copy link

djuarezg commented Apr 30, 2019

Actual behavior
On https://github.com/GoogleContainerTools/kaniko/blob/master/pkg/constants/constants.go#L75 there is a default PATH for scratch, which seems like an attempt to replicate docker-build default PATH as in https://github.com/moby/moby/blob/8e610b2b55bfd1bfa9436ab110d311f5e8a74dcb/pkg/system/path.go#L12

The problem is that this causes a change of behaviour in Kaniko. While using an image without PATH as FROM adds a default PATH in docker-build, Kaniko does not, probably because of #89

Expected behavior

A kaniko build with a base image without PATH should add the same default PATH as with docker-build.

@djuarezg
Copy link
Author

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants