HUB
Sign inSign up

waitingsong/node

By waitingsong

•Updated over 5 years ago

Docker image, based on node:alpine, with some additional stuff

Image
0

2.4K

waitingsong/node repository overview

⁠Node.js images with additional useful applications

Node.js docker image creating script, forked from tarampampam/node-docker⁠.

License

⁠Why this image created?

Base node⁠ images does not contains additional utils such as git.

Applications from base images:

  • node
  • npm
  • yarn

Additional applications list:

  • bash
  • curl
  • git
  • jq
  • lerna
  • openssh
  • tar
  • xz

Additional configuations list:

  • use cdn https://uk.alpinelinux.org/ with https instead of default http://dl-cdn.alpinelinux.org

Page on hub.docker.com can be found here⁠.

⁠How can I use this?

For example:

docker run --rm \
  --volume "$PWD:/app" \
  --workdir "/app" \
  --user "$(id -u):$(id -g)" \
  waitingsong/node:alpine \
  npm install

Or using with docker-compose.yml:

services:
  node:
    image: waitingsong/node:alpine
    volumes:
    - ./src:/app:rw
    working_dir: /app
    command: []

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

353.2 MB

Last updated

almost 6 years ago

docker pull waitingsong/node