This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Showing
4 changed files
with
1 addition
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1 @@ | ||
FROM node:6.9.4 | ||
|
||
ENV DISPLAY :99.0 | ||
ENV CHROME_BIN /usr/bin/google-chrome | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN apt-get update; \ | ||
apt-get install -y git curl sudo; \ | ||
curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - ; \ | ||
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'; \ | ||
apt-get update && apt-get install -y google-chrome-stable Xvfb; \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN adduser --disabled-password --gecos "" tester | ||
|
||
COPY package.json /usr/src/app/package.json | ||
|
||
RUN npm install | ||
|
||
COPY ci/xvfb.sh /etc/init.d/xvfb | ||
COPY ci/entrypoint.sh /entrypoint.sh | ||
|
||
COPY . /usr/src/app | ||
|
||
RUN chown -R tester /usr/src/app | ||
|
||
CMD ["/usr/src/app/src/cli/bin.js"] | ||
ENTRYPOINT ["/entrypoint.sh"] | ||
FROM quay.io/ipfs/js-base:6.9.4 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.