File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ RUN set -e; \
51
51
&& export GNUPGHOME="$(mktemp -d)" \
52
52
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
53
53
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
54
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
54
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
55
55
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
56
56
# - Unpack the toolchain, set libs permissions, and clean up.
57
57
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN set -e; \
42
42
&& export GNUPGHOME="$(mktemp -d)" \
43
43
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
44
44
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
45
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
45
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
46
46
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
47
47
# - Unpack the toolchain, set libs permissions, and clean up.
48
48
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 ${DOWNLOAD_DIR}-${OS_VER}/usr/lib/swift/linux \
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ RUN set -e; \
51
51
&& export GNUPGHOME="$(mktemp -d)" \
52
52
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
53
53
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
54
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
54
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
55
55
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
56
56
# - Unpack the toolchain, set libs permissions, and clean up.
57
57
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN set -e; \
42
42
&& export GNUPGHOME="$(mktemp -d)" \
43
43
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
44
44
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
45
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
45
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
46
46
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
47
47
# - Unpack the toolchain, set libs permissions, and clean up.
48
48
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 ${DOWNLOAD_DIR}-${OS_VER}/usr/lib/swift/linux \
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ RUN set -e; \
51
51
&& export GNUPGHOME="$(mktemp -d)" \
52
52
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
53
53
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
54
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
54
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
55
55
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
56
56
# - Unpack the toolchain, set libs permissions, and clean up.
57
57
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN set -e; \
42
42
&& export GNUPGHOME="$(mktemp -d)" \
43
43
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
44
44
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
45
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
45
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
46
46
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
47
47
# - Unpack the toolchain, set libs permissions, and clean up.
48
48
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 ${DOWNLOAD_DIR}-${OS_VER}/usr/lib/swift/linux \
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ RUN set -e; \
51
51
&& export GNUPGHOME="$(mktemp -d)" \
52
52
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
53
53
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
54
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
54
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
55
55
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
56
56
# - Unpack the toolchain, set libs permissions, and clean up.
57
57
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN set -e; \
42
42
&& export GNUPGHOME="$(mktemp -d)" \
43
43
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
44
44
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
45
- && gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
45
+ && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
46
46
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
47
47
# - Unpack the toolchain, set libs permissions, and clean up.
48
48
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 ${DOWNLOAD_DIR}-${OS_VER}/usr/lib/swift/linux \
You can’t perform that action at this time.
0 commit comments