Public Repository

Last pushed: 2 years ago
Short Description
This repo is an pure latest node environment.
Full Description

Dockerfile

FROM ubuntu
ENV DEBIAN_FRONTEND noninteractive
RUN rm /bin/sh && ln -s /bin/bash /bin/sh

#run the update and install the dependences
RUN apt-get -y update && apt-get install build-essential -y && apt-get install -y g++ curl libssl-dev apache2-utils git python

#get latest node source code and installed it manually
RUN git clone https://github.com/nodejs/node.git --progress

#node
RUN cd node/ && ./configure && make && make install

#run apt-get install npm
RUN apt-get install -y npm

#install pm2
RUN npm install pm2 -g

Docker Pull Command
Owner
shepard

Comments (0)