Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

FROM iovietnam/centos:7
MAINTAINER IO Vietnam JSC info@iovietnam.com

ENV NODE_VERSION=5.9.1

Initialize

RUN chmod 0777 /root
RUN mkdir downloads
WORKDIR downloads

Install NodeJS

RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.xz" \
&& tar -xf node-v$NODE_VERSION-linux-x64.tar.xz \
&& ln -s /downloads/node-v$NODE_VERSION-linux-x64/bin/node /usr/local/bin \
&& ln -s /downloads/node-v$NODE_VERSION-linux-x64/bin/npm /usr/local/bin

WORKDIR /

Docker Pull Command
Owner
iovietnam

Comments (0)