File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
17
17
tzdata \
18
18
git \
19
19
pkg-config \
20
- curl \
21
20
&& rm -r /var/lib/apt/lists/*
22
21
23
22
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
@@ -41,6 +40,9 @@ RUN set -e; \
41
40
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)/" \
42
41
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz" \
43
42
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \
43
+ # - Grab curl here so we cache better up above
44
+ && export DEBIAN_FRONTEND=noninteractive \
45
+ && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \
44
46
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
45
47
&& export GNUPGHOME="$(mktemp -d)" \
46
48
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
8
8
libcurl3 \
9
9
libxml2 \
10
10
tzdata \
11
- curl \
12
11
&& rm -r /var/lib/apt/lists/*
13
12
14
13
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
@@ -32,6 +31,9 @@ RUN set -e; \
32
31
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)/" \
33
32
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz" \
34
33
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \
34
+ # - Grab curl here so we cache better up above
35
+ && export DEBIAN_FRONTEND=noninteractive \
36
+ && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \
35
37
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
36
38
&& export GNUPGHOME="$(mktemp -d)" \
37
39
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
17
17
tzdata \
18
18
git \
19
19
pkg-config \
20
- curl \
21
20
&& rm -r /var/lib/apt/lists/*
22
21
23
22
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
@@ -41,6 +40,9 @@ RUN set -e; \
41
40
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)/" \
42
41
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz" \
43
42
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \
43
+ # - Grab curl here so we cache better up above
44
+ && export DEBIAN_FRONTEND=noninteractive \
45
+ && apt-get -q update && apt-get -q install -y curl && rm -rf /var/lib/apt/lists/* \
44
46
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
45
47
&& export GNUPGHOME="$(mktemp -d)" \
46
48
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && ap
8
8
libcurl4 \
9
9
libxml2 \
10
10
tzdata \
11
- curl \
12
- gnupg \
13
11
&& rm -r /var/lib/apt/lists/*
14
12
15
13
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
@@ -33,6 +31,9 @@ RUN set -e; \
33
31
SWIFT_WEBDIR="$SWIFT_WEBROOT/$SWIFT_BRANCH/$(echo $SWIFT_PLATFORM | tr -d .)/" \
34
32
&& SWIFT_BIN_URL="$SWIFT_WEBDIR/$SWIFT_VERSION/$SWIFT_VERSION-$SWIFT_PLATFORM.tar.gz" \
35
33
&& SWIFT_SIG_URL="$SWIFT_BIN_URL.sig" \
34
+ # - Grab curl and gpg here so we cache better up above
35
+ && export DEBIAN_FRONTEND=noninteractive \
36
+ && apt-get -q update && apt-get -q install -y curl gnupg && rm -rf /var/lib/apt/lists/* \
36
37
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
37
38
&& export GNUPGHOME="$(mktemp -d)" \
38
39
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
You can’t perform that action at this time.
0 commit comments