node-red / node-red/node-red-docker

Update Dockerfiles to install latest npm

Open
#510 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
540
Forks
434
Avg merge
24m
Merged PRs (30d)
5

Description

We use the upstream node images to build the NR images. These can contain out of date npm versions with potential security issues. The task here is to add a step to the Dockerfiles to update npm to the latest.

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 by locating the repository's Dockerfiles and reviewing how the upstream Node images build the NR images. Add the npm update step to the relevant Dockerfiles, then build the affected images to verify they install the latest npm successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nodejs
Domain
build-system, devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.