diff --git a/2.3/jessie/slim/Dockerfile b/2.3/jessie/slim/Dockerfile index ea4b0a9d0d..26278a605d 100644 --- a/2.3/jessie/slim/Dockerfile +++ b/2.3/jessie/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie +FROM debian:jessie-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/2.3/stretch/slim/Dockerfile b/2.3/stretch/slim/Dockerfile index c66127e5b2..c72481c982 100644 --- a/2.3/stretch/slim/Dockerfile +++ b/2.3/stretch/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:stretch-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/2.4/jessie/slim/Dockerfile b/2.4/jessie/slim/Dockerfile index 897c18cb97..6feb049e28 100644 --- a/2.4/jessie/slim/Dockerfile +++ b/2.4/jessie/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:jessie +FROM debian:jessie-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/2.4/stretch/slim/Dockerfile b/2.4/stretch/slim/Dockerfile index 263907995b..0e8c1a2ee8 100644 --- a/2.4/stretch/slim/Dockerfile +++ b/2.4/stretch/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:stretch-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/2.5/stretch/slim/Dockerfile b/2.5/stretch/slim/Dockerfile index e80f1b5387..ce8ec63161 100644 --- a/2.5/stretch/slim/Dockerfile +++ b/2.5/stretch/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:stretch-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/2.6/stretch/slim/Dockerfile b/2.6/stretch/slim/Dockerfile index 0176c5143f..d964846e3c 100644 --- a/2.6/stretch/slim/Dockerfile +++ b/2.6/stretch/slim/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:stretch-slim RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/update.sh b/update.sh index 4117eefe8b..3c404d05a0 100755 --- a/update.sh +++ b/update.sh @@ -85,6 +85,10 @@ for version in "${versions[@]}"; do esac template="Dockerfile-${template}.template" + if [ "$variant" = 'slim' ]; then + tag+='-slim' + fi + sed -r \ -e 's!%%VERSION%%!'"$version"'!g' \ -e 's!%%FULL_VERSION%%!'"$fullVersion"'!g' \