Skip to content

Commit 49790d2

Browse files
author
Christopher Horrell
committed
Switch to jessie-slim for the slim variant
Closes #618
1 parent 16a8690 commit 49790d2

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

10/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildpack-deps:jessie-curl
1+
FROM debian:jessie-slim
22

33
RUN groupadd --gid 1000 node \
44
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
@@ -34,7 +34,7 @@ RUN buildDeps='xz-utils' \
3434
*) echo "unsupported architecture"; exit 1 ;; \
3535
esac \
3636
&& set -x \
37-
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
37+
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3838
&& rm -rf /var/lib/apt/lists/* \
3939
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
4040
&& curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \

6/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildpack-deps:jessie-curl
1+
FROM debian:jessie-slim
22

33
RUN groupadd --gid 1000 node \
44
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
@@ -34,7 +34,7 @@ RUN buildDeps='xz-utils' \
3434
*) echo "unsupported architecture"; exit 1 ;; \
3535
esac \
3636
&& set -x \
37-
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
37+
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3838
&& rm -rf /var/lib/apt/lists/* \
3939
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
4040
&& curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \

8/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildpack-deps:jessie-curl
1+
FROM debian:jessie-slim
22

33
RUN groupadd --gid 1000 node \
44
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
@@ -34,7 +34,7 @@ RUN buildDeps='xz-utils' \
3434
*) echo "unsupported architecture"; exit 1 ;; \
3535
esac \
3636
&& set -x \
37-
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
37+
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3838
&& rm -rf /var/lib/apt/lists/* \
3939
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
4040
&& curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \

9/slim/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildpack-deps:jessie-curl
1+
FROM debian:jessie-slim
22

33
RUN groupadd --gid 1000 node \
44
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
@@ -34,7 +34,7 @@ RUN buildDeps='xz-utils' \
3434
*) echo "unsupported architecture"; exit 1 ;; \
3535
esac \
3636
&& set -x \
37-
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
37+
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3838
&& rm -rf /var/lib/apt/lists/* \
3939
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
4040
&& curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \

Dockerfile-slim.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildpack-deps:jessie-curl
1+
FROM debian:jessie-slim
22

33
RUN groupadd --gid 1000 node \
44
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
@@ -27,7 +27,7 @@ RUN buildDeps='xz-utils' \
2727
*) echo "unsupported architecture"; exit 1 ;; \
2828
esac \
2929
&& set -x \
30-
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
30+
&& apt-get update && apt-get install -y ca-certificates curl wget $buildDeps --no-install-recommends \
3131
&& rm -rf /var/lib/apt/lists/* \
3232
&& curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" \
3333
&& curl -SLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" \

0 commit comments

Comments
 (0)