Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
dockerfile: use local files instead of github
Browse files Browse the repository at this point in the history
  • Loading branch information
n-riesco committed Nov 24, 2017
1 parent 9d1c2a9 commit 6bd86a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions test/ijavascript-node-0.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM node:0.10

RUN apt-get update && \
apt-get install -yq --no-install-recommends libzmq-dev ipython-notebook && \
apt-get install -yq --no-install-recommends libzmq3-dev ipython-notebook && \
apt-get clean

RUN git clone https://github.com/n-riesco/ijavascript.git && \
cd ijavascript && \
npm i
RUN mkdir -p ijavascript

COPY . ijavascript

RUN cd ijavascript && rm -rf node_modules && npm i --production

WORKDIR ijavascript

CMD git pull && npm run test:4 && npm run test:5
CMD npm run test
12 changes: 7 additions & 5 deletions test/ijavascript-node-latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM node:latest

RUN apt-get update && \
apt-get install -yq --no-install-recommends libzmq-dev ipython-notebook && \
apt-get install -yq --no-install-recommends libzmq3-dev ipython-notebook && \
apt-get clean

RUN git clone https://github.com/n-riesco/ijavascript.git && \
cd ijavascript && \
npm i
RUN mkdir -p ijavascript

COPY . ijavascript

RUN cd ijavascript && rm -rf node_modules && npm i --production

WORKDIR ijavascript

CMD git pull && npm run test:4 && npm run test:5
CMD npm run test

0 comments on commit 6bd86a8

Please sign in to comment.