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

make COPY --chown work without modifyfs #290

Open
hellmanj opened this issue Nov 7, 2019 · 0 comments
Open

make COPY --chown work without modifyfs #290

hellmanj opened this issue Nov 7, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@hellmanj
Copy link

hellmanj commented Nov 7, 2019

Is your feature request related to a problem? Please describe.
Similar to #185 , we need to use COPY --chown to change file ownership while creating our image. In our organization, we are not permitted to run makisu in a container or use chroot (main reasons we are drawn to makisu), so using --modifyfs isn't really an option for us.

Describe the solution you'd like
Please make COPY --chown work without --modifyfs. I heard from @yiranwang52 there is already a TODO in the code to make this work...

Describe alternatives you've considered
Would love to hear some :)

Additional context
Sample Dockerfile which reproduces the issue:

FROM alpine
COPY --chown=0:0 . /srv

Thanks! (and thanks for making Makisu!)

@yiranwang52 yiranwang52 added the enhancement New feature or request label Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants