π’$ docker run bitmeal/nodegit:alpine
π Dockerfile
π bitmeal/nodegit-alpine@github
πtags: [<nodegit-version>-][<node-version>-]alpine
πβπ¨ match the containers and your requested (package.json
/package-lock.json
) nodegit versions
π« try ignoring (and rebuilding) your package-lock.json
in the container
β‘ when debugging, remember: npm
binary is masked - visit repo for more infos
NODEGIT_LINK_SILENT
: disables output ofnpm
interception and link processNODEGIT_LINK_OFF
: disables automatic nodegit linkingNODEGIT_LINK_ALWAYS
: always link global nodegit, independently of detection resultNODEGIT_IGNORE_PACKAGE_LOCK
: ignorepackage-lock.json
when searching for nodegit dependencyNPM_LINK
: append--link
to npm install (and aliases) per defaultNPM_NO_PACKAGE_LOCK
: use npm with--no-package-lock
option
A precompiled nodegit version and some sugar π in a
node:alpine
container.
- nodegit is installed as a global module
- the global nodegit module will get linked automatically, when a nodegit dependency is detected
- calls to
npm
are intercepted and evaluated for automatic linking - call
npm
directly as/usr/local/bin/npm
- manually 'fetch' nodegit as a dependency npm
npm install
,npm link nodegit
or/usr/local/bin/npm install --link
This list is updated automatically, for the latest build, in sync with the container images. The build badge tells wether all containers built successfully, or any failed. The build status per tag (-group) tells wether the tags are included in the last build. Previous versions may be available for tags with failed builds.
tags format: [<nodegit-version>-][<node-version>-]alpine