alexellis / derek

Reduce maintainer fatigue by automating GitHub
https://github.com/alexellis/derek/blob/master/USER_GUIDE.md
MIT License
808 stars 70 forks source link

Run derek as non root user #131

Closed martindekov closed 5 years ago

martindekov commented 5 years ago

Adding app user in the dockerfile to run the code inside the container instead of running it through the root folder

Signed-off-by: Martin Dekov mvdekov@gmail.com

Description

The code is ran as app user instead of root

Motivation and Context

How Has This Been Tested?

  1. Build with the new Dockerfile Derek image.
  2. Exec in container and run pwd.

Derek from master: image Derek with the change: image

Verified the bot is working in push2 testing repo: image

Types of changes

Checklist: