Skip to content

git not found in alpine image #586

Closed
@krazyjakee

Description

@krazyjakee
npm ERR! code ENOGIT
npm ERR! No git binary found in $PATH
npm ERR! 
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

Looks like it's missing from the current alpine image.
npm install is kinda fundamental to node and git is required to install certain dependencies.

Including

RUN apk update && apk upgrade && \
    apk add --no-cache bash git openssh

in the dockerfile will fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions