forked from atlassian/docker-chromium-xvfb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7080130
commit 03dec6f
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |