corretto/corretto-8-docker

Non-root user?

Closed this issue · 2 comments

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

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: amazonlinux/container-images#28 .

Thank you, this answered my question