We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65bd191 commit 2bce96eCopy full SHA for 2bce96e
Dockerfile
@@ -1,24 +1,14 @@
1
FROM beevelop/base
2
MAINTAINER Maik Hummel <[email protected]>
3
4
-# Build-Variables
5
-ENV NODEJS_VERSION 4.3.2
6
-
7
-# Set Environment Variables
8
-ENV PATH $PATH:/opt/nodejs/bin
+ENV NODEJS_VERSION=4.4.7 \
+ PATH=$PATH:/opt/nodejs/bin
9
10
WORKDIR "/opt"
11
12
RUN apt-get update -y && \
13
- # Install curl
14
apt-get install -y curl && \
15
16
- # Download defined Node.js Version
17
curl -O https://nodejs.org/dist/v${NODEJS_VERSION}/node-v${NODEJS_VERSION}-linux-x64.tar.gz && \
18
19
- # Extract and move to /opt
20
tar xf node-v${NODEJS_VERSION}-linux-x64.tar.gz && \
21
mv node-v${NODEJS_VERSION}-linux-x64 /opt/nodejs && \
22
23
- # Clean up
24
rm node-v${NODEJS_VERSION}-linux-x64.tar.gz
0 commit comments