Skip to content

Commit

Permalink
js: Update Node to 8.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-adams committed Mar 14, 2018
1 parent 7080130 commit 03dec6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions images/js-onbuild/Dockerfile-8.x
@@ -1,10 +1,11 @@
FROM markadams/chromium-xvfb

WORKDIR /usr/src/app
ENV NODE_VERSION=8.4.0-1
ENV NODE_VERSION=8.10.0-1

RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs=${NODE_VERSION}nodesource1~jessie1 \
RUN apt-get install -y gpg \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs=${NODE_VERSION}nodesource1 \
&& rm -rf /var/lib/apt/lists

CMD npm test
Expand Down
7 changes: 4 additions & 3 deletions images/js/Dockerfile-8.x
@@ -1,10 +1,11 @@
FROM markadams/chromium-xvfb

WORKDIR /usr/src/app
ENV NODE_VERSION=8.4.0-1
ENV NODE_VERSION=8.10.0-1

RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs=${NODE_VERSION}nodesource1~jessie1 \
RUN apt-get install -y gpg \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y nodejs=${NODE_VERSION}nodesource1 gpg \
&& rm -rf /var/lib/apt/lists

CMD npm test

0 comments on commit 03dec6f

Please sign in to comment.