From 7f9555ea2ee91e2432f7807a0d9af98d3b389601 Mon Sep 17 00:00:00 2001 From: Zachary Boyd Date: Sun, 12 Mar 2017 13:01:35 -0400 Subject: [PATCH] saves nodejs install script to temp --- .dockerignore | 5 ++++- .gitignore | 4 +++- Dockerfile | 4 ++-- bitbucket-pipelines.yaml | 7 +++++++ 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 bitbucket-pipelines.yaml diff --git a/.dockerignore b/.dockerignore index de627ed..a559c2e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,6 @@ .git node_modules -Dockerfile \ No newline at end of file +Dockerfile +yarn.lock +npm-debug.log +docker-compose.yml \ No newline at end of file diff --git a/.gitignore b/.gitignore index b512c09..9b5e481 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -node_modules \ No newline at end of file +node_modules +yarn.lock +npm-debug.log \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 064e346..703532f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/bitbucket-pipelines.yaml b/bitbucket-pipelines.yaml new file mode 100644 index 0000000..51bda76 --- /dev/null +++ b/bitbucket-pipelines.yaml @@ -0,0 +1,7 @@ +image: znetstar/tor-router + +pipelines: + default: + - step: + script: + - npm test \ No newline at end of file