Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node.js images to include yarn (v2) #2705

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

pesho
Copy link
Contributor

@pesho pesho commented Mar 1, 2017

This update adds the latest version of Yarn (0.21.3) to all the Node.js Docker images and variants:

It also includes the improvements requested at #2703 (comment) and supercedes #2703

This update adds the latest version of Yarn (0.21.3) to all the Node.js
Docker images and variants:

- nodejs/docker-node#337
- https://yarnpkg.com/
@yosifkit
Copy link
Member

yosifkit commented Mar 1, 2017

diff --git a/node_alpine/Dockerfile b/node_alpine/Dockerfile
index e011856..19db13f 100644
--- a/node_alpine/Dockerfile
+++ b/node_alpine/Dockerfile
@@ -43,4 +43,20 @@ RUN adduser -D -u 1000 node \
     && rm -Rf "node-v$NODE_VERSION" \
     && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt
 
+ENV YARN_VERSION 0.21.3
+
+RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn \
+  && apk del .build-deps-yarn
+
 CMD [ "node" ]
diff --git a/node_argon-alpine/Dockerfile b/node_argon-alpine/Dockerfile
index b4c0f04..3b4db3d 100644
--- a/node_argon-alpine/Dockerfile
+++ b/node_argon-alpine/Dockerfile
@@ -43,4 +43,20 @@ RUN adduser -D -u 1000 node \
     && rm -Rf "node-v$NODE_VERSION" \
     && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt
 
+ENV YARN_VERSION 0.21.3
+
+RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn \
+  && apk del .build-deps-yarn
+
 CMD [ "node" ]
diff --git a/node_argon-slim/Dockerfile b/node_argon-slim/Dockerfile
index 1d369d4..5fa9472 100644
--- a/node_argon-slim/Dockerfile
+++ b/node_argon-slim/Dockerfile
@@ -35,4 +35,19 @@ RUN buildDeps='xz-utils' \
     && apt-get purge -y --auto-remove $buildDeps \
     && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_argon-wheezy/Dockerfile b/node_argon-wheezy/Dockerfile
index 7e5c3b7..b3e3125 100644
--- a/node_argon-wheezy/Dockerfile
+++ b/node_argon-wheezy/Dockerfile
@@ -30,4 +30,19 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
   && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
   && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_argon/Dockerfile b/node_argon/Dockerfile
index f49aa14..b73fb5d 100644
--- a/node_argon/Dockerfile
+++ b/node_argon/Dockerfile
@@ -30,4 +30,19 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
   && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
   && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_boron-alpine/Dockerfile b/node_boron-alpine/Dockerfile
index 4657b94..20f0d53 100644
--- a/node_boron-alpine/Dockerfile
+++ b/node_boron-alpine/Dockerfile
@@ -43,4 +43,20 @@ RUN adduser -D -u 1000 node \
     && rm -Rf "node-v$NODE_VERSION" \
     && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt
 
+ENV YARN_VERSION 0.21.3
+
+RUN apk add --no-cache --virtual .build-deps-yarn curl gnupg \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn \
+  && apk del .build-deps-yarn
+
 CMD [ "node" ]
diff --git a/node_boron-slim/Dockerfile b/node_boron-slim/Dockerfile
index d3c3c86..643effa 100644
--- a/node_boron-slim/Dockerfile
+++ b/node_boron-slim/Dockerfile
@@ -35,4 +35,19 @@ RUN buildDeps='xz-utils' \
     && apt-get purge -y --auto-remove $buildDeps \
     && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_boron-wheezy/Dockerfile b/node_boron-wheezy/Dockerfile
index 1073617..4e0c159 100644
--- a/node_boron-wheezy/Dockerfile
+++ b/node_boron-wheezy/Dockerfile
@@ -30,4 +30,19 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
   && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
   && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_boron/Dockerfile b/node_boron/Dockerfile
index 8eebe93..59b8556 100644
--- a/node_boron/Dockerfile
+++ b/node_boron/Dockerfile
@@ -30,4 +30,19 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
   && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
   && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_latest/Dockerfile b/node_latest/Dockerfile
index 0429704..513bd40 100644
--- a/node_latest/Dockerfile
+++ b/node_latest/Dockerfile
@@ -30,4 +30,19 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
   && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
   && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_slim/Dockerfile b/node_slim/Dockerfile
index 6389129..0da7a09 100644
--- a/node_slim/Dockerfile
+++ b/node_slim/Dockerfile
@@ -35,4 +35,19 @@ RUN buildDeps='xz-utils' \
     && apt-get purge -y --auto-remove $buildDeps \
     && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]
diff --git a/node_wheezy/Dockerfile b/node_wheezy/Dockerfile
index 69eb49c..8a7d8c6 100644
--- a/node_wheezy/Dockerfile
+++ b/node_wheezy/Dockerfile
@@ -30,4 +30,19 @@ RUN curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-
   && rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt \
   && ln -s /usr/local/bin/node /usr/local/bin/nodejs
 
+ENV YARN_VERSION 0.21.3
+
+RUN set -ex \
+  && for key in \
+    6A010C5166006599AA17F08146C2130DFD2497F5 \
+  ; do \
+    gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
+  done \
+  && curl -fSL -o yarn.js "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js" \
+  && curl -fSL -o yarn.js.asc "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-legacy-$YARN_VERSION.js.asc" \
+  && gpg --batch --verify yarn.js.asc yarn.js \
+  && rm yarn.js.asc \
+  && mv yarn.js /usr/local/bin/yarn \
+  && chmod +x /usr/local/bin/yarn
+
 CMD [ "node" ]

Build test of #2705; 3effdcc (node):

$ bashbrew build node:7.6.0
Building bashbrew/cache:7ef5d553039a3a0737060e8d9fd85672d9be8813792edf59d3a768694486205f (node:7.6.0)
Tagging node:7.6.0
Tagging node:7.6
Tagging node:7
Tagging node:latest

$ test/run.sh node:7.6.0
testing node:7.6.0
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:7.6.0-alpine
Building bashbrew/cache:dc5d4b37bf06bdbba14b440f13bfa68ac50a3f5f9aa6a845117fcd468faa8cdd (node:7.6.0-alpine)
Tagging node:7.6.0-alpine
Tagging node:7.6-alpine
Tagging node:7-alpine
Tagging node:alpine

$ test/run.sh node:7.6.0-alpine
testing node:7.6.0-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:7.6.0-onbuild
Building bashbrew/cache:c85a00b06e2dbfbe5adc136beeb527116bd4d794131e91a9c752026fb7873c98 (node:7.6.0-onbuild)
Tagging node:7.6.0-onbuild
Tagging node:7.6-onbuild
Tagging node:7-onbuild
Tagging node:onbuild

$ test/run.sh node:7.6.0-onbuild
testing node:7.6.0-onbuild
	'override-cmd' [1/1]...passed


$ bashbrew build node:7.6.0-slim
Building bashbrew/cache:ce9014ce07def850d213a432908792d296416de480df278273ea56ade5dbd0c2 (node:7.6.0-slim)
Tagging node:7.6.0-slim
Tagging node:7.6-slim
Tagging node:7-slim
Tagging node:slim

$ test/run.sh node:7.6.0-slim
testing node:7.6.0-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:7.6.0-wheezy
Building bashbrew/cache:dfb5a099151f0a3b12ed6b9f3b1f2ba18229a96dd4525a53be3452d73f28ef91 (node:7.6.0-wheezy)
Tagging node:7.6.0-wheezy
Tagging node:7.6-wheezy
Tagging node:7-wheezy
Tagging node:wheezy

$ test/run.sh node:7.6.0-wheezy
testing node:7.6.0-wheezy
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:6.10.0
Building bashbrew/cache:44840d3bb996dbd4056bb73a57de8570263a30f1a468d7a3b5e52626f517ffa3 (node:6.10.0)
Tagging node:6.10.0
Tagging node:6.10
Tagging node:6
Tagging node:boron

$ test/run.sh node:6.10.0
testing node:6.10.0
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:6.10.0-alpine
Building bashbrew/cache:727e02eddcd670f251a30c61bdcc1df6da14d830a5de412b8da89ed8f689a427 (node:6.10.0-alpine)
Tagging node:6.10.0-alpine
Tagging node:6.10-alpine
Tagging node:6-alpine
Tagging node:boron-alpine

$ test/run.sh node:6.10.0-alpine
testing node:6.10.0-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:6.10.0-onbuild
Building bashbrew/cache:860c3a555181a487843b46393d1533144116b6e1514cb7ddfd652a4b0e319395 (node:6.10.0-onbuild)
Tagging node:6.10.0-onbuild
Tagging node:6.10-onbuild
Tagging node:6-onbuild
Tagging node:boron-onbuild

$ test/run.sh node:6.10.0-onbuild
testing node:6.10.0-onbuild
	'override-cmd' [1/1]...passed


$ bashbrew build node:6.10.0-slim
Building bashbrew/cache:0f0e13be8d3c465f8ed6d49199d557338b949f851234b92e99b77baf925b791a (node:6.10.0-slim)
Tagging node:6.10.0-slim
Tagging node:6.10-slim
Tagging node:6-slim
Tagging node:boron-slim

$ test/run.sh node:6.10.0-slim
testing node:6.10.0-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:6.10.0-wheezy
Building bashbrew/cache:2ba1f3c148b48eb9e56f2b1b2722b7455abd153373043dc6fc0c1cd0c4d9e6c5 (node:6.10.0-wheezy)
Tagging node:6.10.0-wheezy
Tagging node:6.10-wheezy
Tagging node:6-wheezy
Tagging node:boron-wheezy

$ test/run.sh node:6.10.0-wheezy
testing node:6.10.0-wheezy
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:4.8.0
Building bashbrew/cache:a5a8de48803f06f569e1b96a7d908279252012601fc606146ba4251a9a65adcb (node:4.8.0)
Tagging node:4.8.0
Tagging node:4.8
Tagging node:4
Tagging node:argon

$ test/run.sh node:4.8.0
testing node:4.8.0
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:4.8.0-alpine
Building bashbrew/cache:b3806fed596b33eb4840d79c9c5e73943b32dc77be97efd4b7d68a8f7745b1c8 (node:4.8.0-alpine)
Tagging node:4.8.0-alpine
Tagging node:4.8-alpine
Tagging node:4-alpine
Tagging node:argon-alpine

$ test/run.sh node:4.8.0-alpine
testing node:4.8.0-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:4.8.0-onbuild
Building bashbrew/cache:1a2400528bad43816b40ad74abf4d4741dc2b4a06a38068357dc842e2860671d (node:4.8.0-onbuild)
Tagging node:4.8.0-onbuild
Tagging node:4.8-onbuild
Tagging node:4-onbuild
Tagging node:argon-onbuild

$ test/run.sh node:4.8.0-onbuild
testing node:4.8.0-onbuild
	'override-cmd' [1/1]...passed


$ bashbrew build node:4.8.0-slim
Building bashbrew/cache:eacd6b4f3b45e661e9e7211a81bb9ee4721728f58253431f501a37af02fdb06c (node:4.8.0-slim)
Tagging node:4.8.0-slim
Tagging node:4.8-slim
Tagging node:4-slim
Tagging node:argon-slim

$ test/run.sh node:4.8.0-slim
testing node:4.8.0-slim
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed


$ bashbrew build node:4.8.0-wheezy
Building bashbrew/cache:8fede358b5953972b88a9dbcc5bc1b616c64928cedd6205022a34f0d92332876 (node:4.8.0-wheezy)
Tagging node:4.8.0-wheezy
Tagging node:4.8-wheezy
Tagging node:4-wheezy
Tagging node:argon-wheezy

$ test/run.sh node:4.8.0-wheezy
testing node:4.8.0-wheezy
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'node-hello-world' [5/5]...passed

@williamboman
Copy link

This inadvertently broke our Bitbucket CI pipeline due to npm install -g yarn receiving permission errors. (fyi)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants