You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dockramp could support this if the API endpoint did. I think it's a good behavior to have, but there still might be a desire to copy files with ownership other than the current USER value.
I was thinking of something that looks like:
COPY --chown="user:group" foo/bar /baz
It would allow you to specify ownership per-COPY. Again, it relies on the Docker API endpoint used by COPY to support this functionality.
There are multiple issues submitted to the docker/docker about this.
My use case is similar to:
I believe the USER instruction should affect any subsequent COPY and ADD instructions to avoid having to always
chown
any copied directories/files.Any chance dockramp could support this use case?
The text was updated successfully, but these errors were encountered: