Skip to content

Commit 2bce96e

Browse files
authored
Update Node.js to v4.4.7 (close #61)
1 parent 65bd191 commit 2bce96e

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

Dockerfile

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
11
FROM beevelop/base
22
MAINTAINER Maik Hummel <[email protected]>
33

4-
# Build-Variables
5-
ENV NODEJS_VERSION 4.3.2
6-
7-
# Set Environment Variables
8-
ENV PATH $PATH:/opt/nodejs/bin
4+
ENV NODEJS_VERSION=4.4.7 \
5+
PATH=$PATH:/opt/nodejs/bin
96

107
WORKDIR "/opt"
118

129
RUN apt-get update -y && \
13-
# Install curl
1410
apt-get install -y curl && \
15-
16-
# Download defined Node.js Version
1711
curl -O https://nodejs.org/dist/v${NODEJS_VERSION}/node-v${NODEJS_VERSION}-linux-x64.tar.gz && \
18-
19-
# Extract and move to /opt
2012
tar xf node-v${NODEJS_VERSION}-linux-x64.tar.gz && \
2113
mv node-v${NODEJS_VERSION}-linux-x64 /opt/nodejs && \
22-
23-
# Clean up
2414
rm node-v${NODEJS_VERSION}-linux-x64.tar.gz

0 commit comments

Comments
 (0)