diff --git a/0.10/slim/Dockerfile b/0.10/slim/Dockerfile index f3fd6b5650..09e463e7f7 100644 --- a/0.10/slim/Dockerfile +++ b/0.10/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie +FROM buildpack-deps:jessie-curl # gpg keys listed at https://github.com/nodejs/node RUN set -ex \ @@ -17,7 +17,7 @@ RUN set -ex \ ENV NODE_VERSION 0.10.44 -RUN buildDeps='curl ca-certificates xz-utils' \ +RUN buildDeps='xz-utils' \ && set -x \ && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ diff --git a/0.12/slim/Dockerfile b/0.12/slim/Dockerfile index 60a4e42285..cc81901198 100644 --- a/0.12/slim/Dockerfile +++ b/0.12/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie +FROM buildpack-deps:jessie-curl # gpg keys listed at https://github.com/nodejs/node RUN set -ex \ @@ -17,7 +17,7 @@ RUN set -ex \ ENV NODE_VERSION 0.12.13 -RUN buildDeps='curl ca-certificates xz-utils' \ +RUN buildDeps='xz-utils' \ && set -x \ && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \