Hello,
Just want to get some confirmation.
According to Dockerfile reference | Docker Docs (USER Docker file command documentation) and to Dockerfile reference | Docker Docs (COPY Docker file command documentation), if, in a Dockerfile, I chain the 2 commands like below:
USER foo
COPY from to
This means that all files copied to “to” will belong to root user and not foo.
Is my understanding, right ? Could you confirm, please ?
Is this stuff subject to change in next Docker releases ?
Best Regards.