coreos / coreos/coreos-assembler
RFC: Remove `builder` user from container image
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 393
- Forks
- 193
- Avg merge
- 17h 6m
- Merged PRs (30d)
- 5
Description
Right now, we have
USER builder
in our Dockerfile. This causes incompatibilities with GitHub Action because it assumes that it runs as root.
We should consider removing it. This should not affect OpenShift, which always runs as non-root anyway (by default). It may affect developers who use the cosa bash alias though.
See related discussions in https://github.com/coreos/fedora-coreos-config/pull/932.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Dockerfile containing USER builder and review how the cosa bash alias invokes the image. Check the related discussion in coreos/fedora-coreos-config pull request 932, then verify whether removing the user preserves the stated OpenShift behavior and resolves GitHub Actions compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100