saves nodejs install script to temp

This commit is contained in:
Zachary Boyd 2017-03-12 13:01:35 -04:00
parent 664399d584
commit 7f9555ea2e
4 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,6 @@
.git
node_modules
Dockerfile
Dockerfile
yarn.lock
npm-debug.log
docker-compose.yml

4
.gitignore vendored
View file

@ -1 +1,3 @@
node_modules
node_modules
yarn.lock
npm-debug.log

View file

@ -10,9 +10,9 @@ ENV SOCKS_PORT 9050
ENV INSTANCES 3
ADD https://deb.nodesource.com/setup_7.x /nodejs_install
ADD https://deb.nodesource.com/setup_7.x /tmp/nodejs_install
RUN bash /nodejs_install
RUN bash /tmp/nodejs_install
RUN apt install -y nodejs tor git

7
bitbucket-pipelines.yaml Normal file
View file

@ -0,0 +1,7 @@
image: znetstar/tor-router
pipelines:
default:
- step:
script:
- npm test