Skip to content

Commit ece2a9a

Browse files
authored
Add --compressed flag to signature downloads. (#465)
1 parent f006d5e commit ece2a9a

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

swift-ci/main/amazon-linux/2/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN set -e; \
8282
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
8383
&& export GNUPGHOME="$(mktemp -d)" \
8484
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
85-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
85+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
8686
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
8787
# - Unpack the toolchain, set libs permissions, and clean up.
8888
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/debian/12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN set -e; \
7272
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
7373
&& export GNUPGHOME="$(mktemp -d)" \
7474
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
75-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
75+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
7676
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
7777
# - Unpack the toolchain, set libs permissions, and clean up.
7878
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/fedora/39/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ RUN set -e; \
6565
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
6666
&& export GNUPGHOME="$(mktemp -d)" \
6767
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
68-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
68+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
6969
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
7070
# - Unpack the toolchain, set libs permissions, and clean up.
7171
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/fedora/41/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN set -e; \
6767
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
6868
&& export GNUPGHOME="$(mktemp -d)" \
6969
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
70-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
70+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
7171
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
7272
# - Unpack the toolchain, set libs permissions, and clean up.
7373
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/rhel-ubi/9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN set -e; \
5757
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
5858
&& export GNUPGHOME="$(mktemp -d)" \
5959
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
60-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
60+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
6161
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
6262
# - Unpack the toolchain, set libs permissions, and clean up.
6363
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/ubuntu/18.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -e; \
6161
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
6262
&& export GNUPGHOME="$(mktemp -d)" \
6363
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
64-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
64+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
6565
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
6666
# - Unpack the toolchain, set libs permissions, and clean up.
6767
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/ubuntu/20.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN set -e; \
7272
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
7373
&& export GNUPGHOME="$(mktemp -d)" \
7474
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
75-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
75+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
7676
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
7777
# - Unpack the toolchain, set libs permissions, and clean up.
7878
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/ubuntu/22.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN set -e; \
7575
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
7676
&& export GNUPGHOME="$(mktemp -d)" \
7777
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
78-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
78+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
7979
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
8080
# - Unpack the toolchain, set libs permissions, and clean up.
8181
&& mkdir -p $SWIFT_PREFIX \

swift-ci/main/ubuntu/24.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN set -e; \
7272
# - Download the GPG keys, Swift toolchain, and toolchain signature, and verify.
7373
&& export GNUPGHOME="$(mktemp -d)" \
7474
&& curl -fsSL "$SWIFT_BIN_URL" -o swift.tar.gz "$SWIFT_SIG_URL" -o swift.tar.gz.sig \
75-
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
75+
&& curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
7676
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
7777
# - Unpack the toolchain, set libs permissions, and clean up.
7878
&& mkdir -p $SWIFT_PREFIX \

0 commit comments

Comments
 (0)