Split the dockerfile into stages
Open
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 34
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Currently every command creates a layer. @legendecas suggested in https://github.com/nodejs/devcontainer/pull/12#discussion_r2375074158 to split it into stages. See https://docs.docker.com/build/building/multi-stage/
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 with the repository's Dockerfile and read the linked Docker multi-stage build documentation. Split the existing commands into stages so the resulting Docker image builds successfully while avoiding unnecessary layers.
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
- Clearly specified
- Newbie friendliness
- 55/100