There are multiple issues submitted to the docker/docker about this.
My use case is similar to:
FROM ubuntu
RUN adduser foo
USER foo
ADD . /foo
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?