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):
git
bash
openssh
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/v7
latest
alpine
lts-alpine
current-alpine
8-alpine
,8.x-alpine
(deprecated)9-alpine
,9.x-alpine
(deprecated)10-alpine
,10.x-alpine
11-alpine
,11.x-alpine
12-alpine
,12.x-alpine
13-alpine
,13.x-alpine
14-alpine
,14.x-alpine
15-alpine
,15.x-alpine
16-alpine
,16.x-alpine
17-alpine
,17.x-alpine
18-alpine
,18.x-alpine
19-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 install
Or 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.