nodejs / nodejs/devcontainer

Split the dockerfile into stages

Open
#16 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.