Skip to content

Add git to the retire.js analyzer plugin image

Problem to solve

When running npm install, the retire.js analyzer plugin is unable to install Git-source dependencies.

Intended users

Persona: Software developer

Further details

This happens because git is not the part of node:11-alpine base image upon which the retire.js analyzer plugin image is built.

Because of this, we're unable to run npm install for projects with Git-sourced dependencies like Gitter.

Proposal

Add git to the Dockerfile of the retire.js analyzer plugin image.

Permissions and Security

No special permissions

Documentation

No documentation changes required

Testing

  • Git-sourced dependency should be added to js-npm test project currently blocked by other issue, but fix tested.
  • Git-sourced dependency should be added to js-yarn test project

What does success look like, and how can we measure that?

The number of customers that have problems with npm-based projects with Git-sourced dependencies.

What is the type of buyer?

Links / references

Edited by Olivier Gonzalez