Skip to content

Commit 885222c

Browse files
committed
Upgrade node version to 8.x, and fix npm build dependency issue
1 parent 128d56f commit 885222c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# Copyright 2016, EMC, Inc.
2-
ARG repo=nodesource
3-
ARG tag=4.4.6
1+
# Copyright 2016, EMC, Inc.
2+
ARG repo=node
3+
ARG tag=8.11.1
44

5-
FROM ${repo}/wheezy:${tag}
5+
FROM ${repo}:${tag}
66

77
COPY . /RackHD/on-core/
88

99
RUN cd /RackHD/on-core \
10-
&& npm install \
11-
&& npm prune --production
10+
&& npm install --production
1211

1312
VOLUME /opt/monorail

0 commit comments

Comments
 (0)