Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGoderre committed Sep 5, 2018
1 parent 204471d commit 26fb32f
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 21 deletions.
10 changes: 7 additions & 3 deletions 10/jessie-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:jessie-slim
ARG DEBIAN_VERSION=debian:jessie-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
Expand Down
10 changes: 7 additions & 3 deletions 10/stretch-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:stretch-slim
ARG DEBIAN_VERSION=debian:stretch-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
Expand Down
10 changes: 7 additions & 3 deletions 6/jessie-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:jessie-slim
ARG DEBIAN_VERSION=debian:jessie-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
Expand Down
10 changes: 7 additions & 3 deletions 6/stretch-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:stretch-slim
ARG DEBIAN_VERSION=debian:stretch-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
Expand Down
10 changes: 7 additions & 3 deletions 8/jessie-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:jessie-slim
ARG DEBIAN_VERSION=debian:jessie-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
Expand Down
10 changes: 7 additions & 3 deletions 8/stretch-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:stretch-slim
ARG DEBIAN_VERSION=debian:stretch-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \
FD3A5288F042B6850C66B31F09FE44734EB7990E \
Expand Down
10 changes: 7 additions & 3 deletions Dockerfile-slim.template
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
FROM debian:name-slim
ARG DEBIAN_VERSION=debian:name-slim

FROM $DEBIAN_VERSION

RUN groupadd --gid 1000 node \
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node

# gpg keys listed at https://github.com/nodejs/node#release-team
RUN set -ex \
&& apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
&& (if [ "$DEBIAN_VERSION" != "jessie" ]; then \
apt-get update && apt-get install -y gpg dirmngr --no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
fi) \
&& for key in \
"${NODE_KEYS[@]}"
; do \
Expand Down

0 comments on commit 26fb32f

Please sign in to comment.