Skip to content
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

Move to non-root container #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Move to non-root container #33

wants to merge 1 commit into from

Conversation

alex1989hu
Copy link
Contributor

  • Create user (1001) during build and copy into SCRATCH image

  • Set spec.template.spec.securityContext.runAsUser: 1001

Fixes #32

Signed-off-by: Alex Szakaly [email protected]

* Create user (1001) during build and copy into SCRATCH image

* Set spec.template.spec.securityContext.runAsUser: 1001

Fixes #32

Signed-off-by: Alex Szakaly <[email protected]>
@alex1989hu
Copy link
Contributor Author

/cc @jakolehm: is it possible to cut a release once it has been merged? Nice to have: in release branch the image tag can follow the actual release, not :latest 🥇

SimonDreher added a commit to SimonDreher/kubelet-rubber-stamp that referenced this pull request Oct 26, 2020
Related to kontena#33, but
setting user also works without moficiations of Dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image run as root by default
1 participant