corretto / corretto-8-docker

Dockerfiles for Amazon Corretto 8
MIT No Attribution
195 stars 40 forks source link

Non-root user? #34

Closed adaniline-traderev closed 5 years ago

adaniline-traderev commented 5 years ago

How can I add a user to my image, if I don't want to runn the app as root?

EricEdens commented 5 years ago

Hey @adaniline-traderev -- it sounds like you're looking for the USER instruction.

I'm going to go ahead and close this since you also have some responses in the amazonlinux repo: https://github.com/amazonlinux/container-images/issues/28 .

adaniline-traderev commented 5 years ago

Thank you, this answered my question