Base node image does not contain installed git, for example (issue). Because of this previously I had to build a separate image (installing many npm dependencies was otherwise impossible), but now we can just use this image :)
We had installed to the alpine-based images the following applications (using a package manager):
gitbashopenssh
If you think something else should be installed additionally, please create an issue in this repository describing the reason
I took care of this - using periodic runs of GitHub actions tags in major(.minor)-alpine format are automatically rebuilt (if they have been updated). You can check all existing tags in one of the following docker-registries:
| Registry | Image |
|---|---|
| Docker Hub | tarampampam/node |
| GitHub Container Registry (mirror) | ghcr.io/tarampampam/node |
All tags support architectures that are available in the original tags:
$ docker run --rm mplatform/mquery tarampampam/node:latest
Image: tarampampam/node:latest
* Manifest List: Yes
* Supported platforms:
- linux/s390x
- linux/ppc64le
- linux/amd64
- linux/arm64
- linux/arm/v7latestalpinelts-alpinecurrent-alpine8-alpine,8.x-alpine(deprecated)9-alpine,9.x-alpine(deprecated)10-alpine,10.x-alpine11-alpine,11.x-alpine12-alpine,12.x-alpine13-alpine,13.x-alpine14-alpine,14.x-alpine15-alpine,15.x-alpine16-alpine,16.x-alpine17-alpine,17.x-alpine18-alpine,18.x-alpine19-alpine,19.x-alpine
Note: Some tags/platforms are ignored due to the "Segmentation fault" errors
For example:
$ docker run --rm \
--volume "$(pwd):/app" \
--workdir "/app" \
--user "$(id -u):$(id -g)" \
tarampampam/node:17-alpine \
yarn installOr using with docker-compose.yml:
services:
node:
image: tarampampam/node:17-alpine
volumes:
- ./src:/app:rw
working_dir: /app
command: []WTFPL. Use anywhere for your pleasure.
