Skip to content

Repository files navigation

node-dev

NODE-DEV is a small package that adds some tools to ease the development inside a node container.

It is derived from pluswerk/php-dev and includes git, ssh, vim, nano, ping, mysql, mysqldump, and autocomplete for git

It comes with versions for: current/25, lts/24, 23, 22, 21, 20, 19, 18

All images after 18 are also available as alpine versions. eg: lts-alpine, current-alpine, 20-alpine

example docker-compose.yml

version: '3.5'services:
node:
image: ghcr.io/pluswerk/node-dev:lts-alpinevolumes:
- ./:/app# the docker socket is optional if no node container is needed
- /var/run/docker.sock:/var/run/docker.sock:ro
- ~/.ssh:/home/node/.ssh
- ~/.gitconfig:/home/node/.gitconfigworking_dir: /appenvironment:
# Don't forget to connect via bash start.sh
- APPLICATION_UID=${APPLICATION_UID:-1000}
- APPLICATION_GID=${APPLICATION_GID:-1000}stop_signal: SIGKILLentrypoint: bash -c 'groupmod -g $$APPLICATION_GID node; usermod -u $$APPLICATION_UID node; sleep infinity'networks:
default:
name: globalexternal: true

View all tags: Github Container Registry.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages