Layerfile Reference
USER
Layerfile Reference
USER
USER [username]
The USER
instruction allows you to run as a non-root user.
The user is added to the root
group to circumvent permission denied errors.
Examples
- Use
USER www
to run the remaining commands as thewww
user.