diff --git a/3.1/Dockerfile b/3.1/Dockerfile index d5a4aecb..685fcf76 100644 --- a/3.1/Dockerfile +++ b/3.1/Dockerfile @@ -4,7 +4,9 @@ LABEL Description="Docker Container for the Apple's Swift programming language" # Install related packages and set LLVM 3.8 as the compiler RUN apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ make \ libc6-dev \ clang-3.8 \ diff --git a/4.0/Dockerfile b/4.0/Dockerfile index 53d4fae5..6ea5ff9a 100644 --- a/4.0/Dockerfile +++ b/4.0/Dockerfile @@ -4,7 +4,9 @@ LABEL Description="Docker Container for the Apple's Swift programming language" # Install related packages and set LLVM 3.8 as the compiler RUN apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ make \ libc6-dev \ clang-3.8 \ diff --git a/4.1/Dockerfile b/4.1/Dockerfile index 37c2c71d..b4fe0624 100644 --- a/4.1/Dockerfile +++ b/4.1/Dockerfile @@ -4,7 +4,9 @@ LABEL Description="Docker Container for the Apple's Swift programming language" # Install related packages and set LLVM 3.8 as the compiler RUN apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ make \ libc6-dev \ clang-3.8 \ diff --git a/4.2/ubuntu/16.04/Dockerfile b/4.2/ubuntu/16.04/Dockerfile index c2276938..4bb11e9a 100644 --- a/4.2/ubuntu/16.04/Dockerfile +++ b/4.2/ubuntu/16.04/Dockerfile @@ -4,7 +4,9 @@ LABEL Description="Docker Container for the Swift programming language" # Install related packages and set LLVM 3.8 as the compiler RUN apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ make \ libc6-dev \ clang-3.8 \ diff --git a/4.2/ubuntu/18.04/Dockerfile b/4.2/ubuntu/18.04/Dockerfile index 073fc8f0..4343e74d 100644 --- a/4.2/ubuntu/18.04/Dockerfile +++ b/4.2/ubuntu/18.04/Dockerfile @@ -4,7 +4,9 @@ LABEL Description="Docker Container for the Swift programming language" # Install related packages and set LLVM 3.9 as the compiler RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ make \ libc6-dev \ clang-3.9 \ diff --git a/5.0/ubuntu/16.04/Dockerfile b/5.0/ubuntu/16.04/Dockerfile index c8526161..5d8ec840 100644 --- a/5.0/ubuntu/16.04/Dockerfile +++ b/5.0/ubuntu/16.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libbsd0 \ libcurl3 \ @@ -33,7 +35,7 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \ # Download GPG keys, signature and Swift package, then unpack, cleanup and execute permissions for foundation libs RUN SWIFT_URL=https://swift.org/builds/$SWIFT_BRANCH/$(echo "$SWIFT_PLATFORM" | tr -d .)/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz \ && apt-get -q update \ - && apt-get -q install -y curl \ + && apt-get --no-install-recommends -q install -y curl \ && curl -fSsL $SWIFT_URL -o swift.tar.gz \ && curl -fSsL $SWIFT_URL.sig -o swift.tar.gz.sig \ && apt-get purge -y curl \ diff --git a/5.0/ubuntu/16.04/slim/Dockerfile b/5.0/ubuntu/16.04/slim/Dockerfile index 938766a3..1d7380d8 100644 --- a/5.0/ubuntu/16.04/slim/Dockerfile +++ b/5.0/ubuntu/16.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libbsd0 \ libcurl3 \ @@ -23,7 +25,7 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \ # Download GPG keys, signature and Swift package, then unpack, cleanup and execute permissions for foundation libs RUN SWIFT_URL=https://swift.org/builds/$SWIFT_BRANCH/$(echo "$SWIFT_PLATFORM" | tr -d .)/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz \ && apt-get update \ - && apt-get install -y curl \ + && apt-get --no-install-recommends install -y curl \ && curl -fSsL $SWIFT_URL -o swift.tar.gz \ && curl -fSsL $SWIFT_URL.sig -o swift.tar.gz.sig \ && export GNUPGHOME="$(mktemp -d)" \ diff --git a/5.0/ubuntu/18.04/Dockerfile b/5.0/ubuntu/18.04/Dockerfile index 45fec568..3c2f400b 100644 --- a/5.0/ubuntu/18.04/Dockerfile +++ b/5.0/ubuntu/18.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libbsd0 \ libcurl4 \ @@ -33,7 +35,7 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \ # Download GPG keys, signature and Swift package, then unpack, cleanup and execute permissions for foundation libs RUN SWIFT_URL=https://swift.org/builds/$SWIFT_BRANCH/$(echo "$SWIFT_PLATFORM" | tr -d .)/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz \ && apt-get update \ - && apt-get install -y curl \ + && apt-get --no-install-recommends install -y curl \ && curl -fSsL $SWIFT_URL -o swift.tar.gz \ && curl -fSsL $SWIFT_URL.sig -o swift.tar.gz.sig \ && apt-get purge -y curl \ diff --git a/5.0/ubuntu/18.04/slim/Dockerfile b/5.0/ubuntu/18.04/slim/Dockerfile index 141d7517..cee6a0c3 100644 --- a/5.0/ubuntu/18.04/slim/Dockerfile +++ b/5.0/ubuntu/18.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libbsd0 \ libcurl4 \ @@ -23,7 +25,7 @@ ENV SWIFT_PLATFORM=$SWIFT_PLATFORM \ # Download GPG keys, signature and Swift package, then unpack, cleanup and execute permissions for foundation libs RUN SWIFT_URL=https://swift.org/builds/$SWIFT_BRANCH/$(echo "$SWIFT_PLATFORM" | tr -d .)/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz \ && apt-get update \ - && apt-get install -y curl gpg \ + && apt-get --no-install-recommends install -y curl gpg \ && curl -fSsL $SWIFT_URL -o swift.tar.gz \ && curl -fSsL $SWIFT_URL.sig -o swift.tar.gz.sig \ && export GNUPGHOME="$(mktemp -d)" \ diff --git a/5.1/ubuntu/16.04/Dockerfile b/5.1/ubuntu/16.04/Dockerfile index 6d1a9227..2aec1ec8 100644 --- a/5.1/ubuntu/16.04/Dockerfile +++ b/5.1/ubuntu/16.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl3 \ libxml2 \ @@ -43,7 +45,7 @@ RUN set -e; \ && SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ # - Grab curl here so we cache better up above && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. && export GNUPGHOME="$(mktemp -d)" \ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ diff --git a/5.1/ubuntu/16.04/slim/Dockerfile b/5.1/ubuntu/16.04/slim/Dockerfile index f9a2fb6a..f98aa40a 100644 --- a/5.1/ubuntu/16.04/slim/Dockerfile +++ b/5.1/ubuntu/16.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl3 \ libxml2 \ @@ -33,7 +35,7 @@ RUN set -e; \ && SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ # - Grab curl here so we cache better up above && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. && export GNUPGHOME="$(mktemp -d)" \ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ diff --git a/5.1/ubuntu/18.04/Dockerfile b/5.1/ubuntu/18.04/Dockerfile index 143809b2..35d7a5a9 100644 --- a/5.1/ubuntu/18.04/Dockerfile +++ b/5.1/ubuntu/18.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl4 \ libxml2 \ @@ -43,7 +45,7 @@ RUN set -e; \ && SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ # - Grab curl here so we cache better up above && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. && export GNUPGHOME="$(mktemp -d)" \ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ diff --git a/5.1/ubuntu/18.04/slim/Dockerfile b/5.1/ubuntu/18.04/slim/Dockerfile index 43ae5bc3..605b1895 100644 --- a/5.1/ubuntu/18.04/slim/Dockerfile +++ b/5.1/ubuntu/18.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL Description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl4 \ libxml2 \ @@ -33,7 +35,7 @@ RUN set -e; \ && SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \ # - Grab curl and gpg here so we cache better up above && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \ # - Download the GPG keys, Swift toolchain, and toolchain signature, and verify. && export GNUPGHOME="$(mktemp -d)" \ && curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \ diff --git a/nightly-5.2/ubuntu/16.04/Dockerfile b/nightly-5.2/ubuntu/16.04/Dockerfile index 68bc18cb..4c0621bd 100644 --- a/nightly-5.2/ubuntu/16.04/Dockerfile +++ b/nightly-5.2/ubuntu/16.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl3 \ libxml2 \ @@ -42,7 +44,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-5.2/ubuntu/16.04/slim/Dockerfile b/nightly-5.2/ubuntu/16.04/slim/Dockerfile index 15fcb7de..73c312f1 100644 --- a/nightly-5.2/ubuntu/16.04/slim/Dockerfile +++ b/nightly-5.2/ubuntu/16.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl3 \ libxml2 \ @@ -32,7 +34,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl and gpg here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-5.2/ubuntu/18.04/Dockerfile b/nightly-5.2/ubuntu/18.04/Dockerfile index 3e2039a8..a1b443ce 100644 --- a/nightly-5.2/ubuntu/18.04/Dockerfile +++ b/nightly-5.2/ubuntu/18.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl4 \ libxml2 \ @@ -42,7 +44,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-5.2/ubuntu/18.04/slim/Dockerfile b/nightly-5.2/ubuntu/18.04/slim/Dockerfile index a23f588f..2167bfe0 100644 --- a/nightly-5.2/ubuntu/18.04/slim/Dockerfile +++ b/nightly-5.2/ubuntu/18.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libatomic1 \ libcurl4 \ libxml2 \ @@ -32,7 +34,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl and gpg here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-master/ubuntu/16.04/Dockerfile b/nightly-master/ubuntu/16.04/Dockerfile index e1ee7b9a..49b172dd 100644 --- a/nightly-master/ubuntu/16.04/Dockerfile +++ b/nightly-master/ubuntu/16.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ binutils \ git \ libc6-dev \ @@ -41,7 +43,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-master/ubuntu/16.04/slim/Dockerfile b/nightly-master/ubuntu/16.04/slim/Dockerfile index efec6dae..0f897445 100644 --- a/nightly-master/ubuntu/16.04/slim/Dockerfile +++ b/nightly-master/ubuntu/16.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libcurl3 \ libxml2 \ tzdata \ @@ -31,7 +33,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl and gpg here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-master/ubuntu/18.04/Dockerfile b/nightly-master/ubuntu/18.04/Dockerfile index 66b0bdfc..9b71249d 100644 --- a/nightly-master/ubuntu/18.04/Dockerfile +++ b/nightly-master/ubuntu/18.04/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ binutils \ git \ libc6-dev \ @@ -41,7 +43,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \ diff --git a/nightly-master/ubuntu/18.04/slim/Dockerfile b/nightly-master/ubuntu/18.04/slim/Dockerfile index 773455cd..62aa4591 100644 --- a/nightly-master/ubuntu/18.04/slim/Dockerfile +++ b/nightly-master/ubuntu/18.04/slim/Dockerfile @@ -3,7 +3,9 @@ LABEL maintainer="Swift Infrastructure " LABEL description="Docker Container for the Swift programming language" RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && \ - apt-get -q install -y \ + apt-get --no-install-recommends install -y \ + apt-utils \ + ca-certificates \ libcurl4 \ libxml2 \ tzdata \ @@ -31,7 +33,7 @@ ENV SWIFT_SIGNING_KEY=$SWIFT_SIGNING_KEY \ RUN set -e; \ # - Grab curl and gpg here so we cache better up above export DEBIAN_FRONTEND=noninteractive \ - && apt-get -q update && apt-get -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \ + && apt-get -q update && apt-get --no-install-recommends -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \ # - Latest Toolchain info && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g') \ && export $(curl -s ${SWIFT_WEBROOT}/latest-build.yml | grep 'download_signature:' | sed 's/:[^:\/\/]/=/g') \