Container for Alpine Linux + s6 + NodeJS + NPM
Built from my alpine-s6 image using latest available nodejs
Based on Alpine Linux.
The image is tagged respectively for 2 architectures,
Get the Image
Pull the image for your architecture it's already available from
# make pull docker pull arpanpal010/alpine-node:x86_64
# make docker run --rm -it \ --name docker_node --hostname node \ -e PGID=100 -e PUID=1000 \ -v /etc/hosts:/etc/hosts:ro \ -v /etc/localtime:/etc/localtime:ro \ -e TZ=Asia/Kolkata \ arpanpal010/alpine-node:x86_64 # make stop docker stop -t 2 docker_node # make rm # stop first docker rm -f docker_node # make restart docker restart docker_node
# make rshell docker exec -u root -it docker_node /bin/bash # make shell docker exec -it docker_node /bin/bash # make logs docker logs -f docker_node
If you have the repository access, you can clone and
build the image yourself for your own system, and can push after.
git clone <repository url> cd <repository>
You can always skip installing make but you will have to
type the whole docker commands then instead of using the sweet
To locally build the image for your system.
# make build docker build --rm --force-rm \ -t arpanpal010/alpine-node:x86_64 \ --no-cache=true --pull . # make push docker push arpanpal010/alpine-node:x86_64
Currently built daily on a RaspberryPi3 (armhf builds) or IntelNUC
(x64 builds). Docker hub builds maintained by arpanpal010.