-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run as non-root #221
Run as non-root #221
Conversation
bd4d6de
to
ca08b15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, think we need to use a different uid
Does actions-registry write anything (other than the db, which I assume is in a mounted volume in the dokku app)? This was the thing that caused most problems for opencodelists. If everything it needs write access to is in a mounted storage volume, the sysadmin ansible playbook will do the work of making sure the non-root user owns it. |
ca08b15
to
7553665
Compare
docker/Dockerfile
Outdated
@@ -154,6 +154,9 @@ LABEL org.opencontainers.image.created=$BUILD_DATE | |||
ARG GITREF=unknown | |||
LABEL org.opencontainers.image.revision=$GITREF | |||
|
|||
ARG USERID=10004 | |||
ARG GROUPID=10004 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this uid is taken (by ebmbot); 10005 should be OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @rebkwok. I've updated to 10005.
Closes #196
7553665
to
0097dd2
Compare
First, thanks for your review! Becky requested the same change and I've updated the PR (and also updated dokku3 in a related PR). Becky has approved the PR but you're away until Wednesday, so you can't reasonably do the same. As such, I'm going to dismiss your review and merge.
Closes #196