Skip to content

Commit c71501b

Browse files
committed
Fix swift update image build
1 parent 4b45c16 commit c71501b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then SWIFT_UBUNTU_VERSION="${SWIFT_UBUNTU_VE
3535
&& DOWNLOAD_URL=https://download.swift.org/swift-${SWIFT_VERSION}-release/${SWIFT_SHORT_UBUNTU_VERSION}/swift-${SWIFT_VERSION}-RELEASE/${SWIFT_TARBALL} \
3636
&& curl --connect-timeout 15 --retry 5 "${DOWNLOAD_URL}" > "/tmp/${SWIFT_TARBALL}" \
3737
&& curl --connect-timeout 15 --retry 5 "${DOWNLOAD_URL}.sig" > "/tmp/${SWIFT_SIGNATURE}" \
38-
&& sh -c 'curl --connect-timeout 15 --retry 5 https://www.swift.org/keys/all-keys.asc | gpg --import -' \
38+
&& sh -c 'curl --location --compressed --connect-timeout 15 --retry 5 https://www.swift.org/keys/all-keys.asc | gpg --import -' \
3939
&& gpg --keyserver hkp://keyserver.ubuntu.com --refresh-keys Swift \
4040
&& gpg --verify /tmp/${SWIFT_SIGNATURE} \
4141
&& mkdir /opt/swift \

0 commit comments

Comments
 (0)