alertmanager-bot icon indicating copy to clipboard operation
alertmanager-bot copied to clipboard

do not use root user

Open runningman84 opened this issue 5 years ago • 2 comments

I think this container would also run just fine if it would run as user nobody. I would advice to add a user directive to the Dockerfile.

runningman84 avatar Jun 04 '19 13:06 runningman84

Yes. That's totally right. Would you like to update the documentation?

metalmatze avatar Jun 04 '19 13:06 metalmatze

I can send you a pull request for the Dockerfile. I would also add tini as an entrypoint which is also best practice.

runningman84 avatar Jun 04 '19 14:06 runningman84