Simple container replacing the nodejs on the host computer.
306
Please note that this image is based on Maven because I have a project that needs both Maven and NodeJS. So this image addresses both dependencies.
FROM maven:3.3-jdk-8
RUN apt-get -qq update \
&& apt-get install -y curl \
&& curl -sL https://deb.nodesource.com/setup | bash - \
&& apt-get install -y bzip2 make nodejs \
&& npm install -g inherits bower grunt grunt-cli
RUN useradd -ms /bin/bash developer
USER developer
WORKDIR /home/developer
#!/bin/bash
CMD=$(basename $0)
docker run \
-it \
--rm \
-p 1337:1337 \
-v "$PWD":/home/developer/source \
-w /home/developer/source \
medined/nodejs \
$CMD $@
Create symbolic links from node to bower, grunt, and npm.
Content type
Image
Digest
sha256:76f6c81ae…
Size
863 MB
Last updated
almost 11 years ago
docker pull medined/nodejs