Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
Remove unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
victorb committed Feb 6, 2017
1 parent b36f946 commit 85a30dc
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 76 deletions.
30 changes: 1 addition & 29 deletions ci/Dockerfile
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
17 changes: 0 additions & 17 deletions ci/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions ci/entrypoint.sh

This file was deleted.

24 changes: 0 additions & 24 deletions ci/xvfb.sh

This file was deleted.

0 comments on commit 85a30dc

Please sign in to comment.