File tree 19 files changed +21
-22
lines changed
19 files changed +21
-22
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ RUN set -e; \
53
53
&& export GNUPGHOME="$(mktemp -d)" \
54
54
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
55
55
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
56
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
56
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
57
57
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
58
58
# - Unpack the toolchain, set libs permissions, and clean up.
59
59
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ RUN set -e; \
59
59
&& export GNUPGHOME="$(mktemp -d)" \
60
60
&& curl -fsSL ${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
61
61
${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
62
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
62
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
63
63
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
64
64
# - Unpack the toolchain, set libs permissions, and clean up.
65
65
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change 3
3
LABEL description="Docker Container for the Swift programming language"
4
4
5
5
# Everything up to here should cache nicely between Swift versions, assuming dev dependencies change little
6
-
7
6
# gpg --keyid-format LONG -k F167DF1ACF9CE069
8
7
# pub rsa4096/F167DF1ACF9CE069 2021-11-08 [SC] [expires: 2025-11-09]
9
8
# E813C892820A6FA13755B268F167DF1ACF9CE069
@@ -31,7 +30,7 @@ RUN set -e; \
31
30
&& export GNUPGHOME="$(mktemp -d)" \
32
31
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
33
32
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
34
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
33
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
35
34
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
36
35
# - Unpack the toolchain, set libs permissions, and clean up.
37
36
&& yum -y install tar gzip \
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ RUN set -e; \
56
56
&& export GNUPGHOME="$(mktemp -d)" \
57
57
&& curl -fsSL ${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
58
58
${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz.sig \
59
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
59
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
60
60
# - Unpack the toolchain, set libs permissions, and clean up.
61
61
&& mkdir -p $SWIFT_PREFIX \
62
62
&& tar -xzf latest_toolchain.tar.gz --directory $SWIFT_PREFIX --strip-components=1 \
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ RUN set -e; \
66
66
&& export GNUPGHOME="$(mktemp -d)" \
67
67
&& curl -fsSL ${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
68
68
${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz.sig \
69
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
69
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
70
70
# - Unpack the toolchain, set libs permissions, and clean up.
71
71
&& mkdir -p $SWIFT_PREFIX \
72
72
&& tar -xzf latest_toolchain.tar.gz --directory $SWIFT_PREFIX --strip-components=1 \
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN set -e; \
58
58
&& export GNUPGHOME="$(mktemp -d)" \
59
59
&& curl -fsSL ${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
60
60
${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz.sig \
61
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
61
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
62
62
# - Unpack the toolchain, set libs permissions, and clean up.
63
63
&& mkdir -p $SWIFT_PREFIX \
64
64
&& tar -xzf latest_toolchain.tar.gz --directory $SWIFT_PREFIX --strip-components=1 \
@@ -72,4 +72,4 @@ USER build-user
72
72
WORKDIR /home/build-user
73
73
74
74
# Print Installed Swift Version
75
- RUN swift --version
75
+ RUN swift --version
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ RUN set -e; \
68
68
&& export GNUPGHOME="$(mktemp -d)" \
69
69
&& curl -fsSL ${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
70
70
${SWIFT_WEBROOT}${OS_ARCH_SUFFIX}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz.sig \
71
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
71
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
72
72
# - Unpack the toolchain, set libs permissions, and clean up.
73
73
&& mkdir -p $SWIFT_PREFIX \
74
74
&& tar -xzf latest_toolchain.tar.gz --directory $SWIFT_PREFIX --strip-components=1 \
@@ -82,4 +82,4 @@ USER build-user
82
82
WORKDIR /home/build-user
83
83
84
84
# Print Installed Swift Version
85
- RUN swift --version
85
+ RUN swift --version
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ RUN set -e; \
46
46
&& export GNUPGHOME="$(mktemp -d)" \
47
47
&& curl -fL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
48
48
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
49
- && curl -fL https://swift.org/keys/all-keys.asc | gpg --import - \
49
+ && curl -fL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
50
50
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
51
51
# - Unpack the toolchain, set libs permissions, and clean up.
52
52
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ RUN set -e; \
52
52
&& export GNUPGHOME="$(mktemp -d)" \
53
53
&& curl -fsSL ${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
54
54
${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
55
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
55
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
56
56
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
57
57
# - Unpack the toolchain, set libs permissions, and clean up.
58
58
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ RUN set -e; \
31
31
&& export GNUPGHOME="$(mktemp -d)" \
32
32
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
33
33
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
34
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
34
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
35
35
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
36
36
# - Unpack the toolchain, set libs permissions, and clean up.
37
37
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ RUN set -e; \
56
56
&& export GNUPGHOME="$(mktemp -d)" \
57
57
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
58
58
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
59
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
59
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
60
60
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
61
61
# - Unpack the toolchain, set libs permissions, and clean up.
62
62
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ RUN set -e; \
62
62
&& export GNUPGHOME="$(mktemp -d)" \
63
63
&& curl -fsSL ${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
64
64
${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
65
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
65
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
66
66
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
67
67
# - Unpack the toolchain, set libs permissions, and clean up.
68
68
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -e; \
41
41
&& export GNUPGHOME="$(mktemp -d)" \
42
42
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
43
43
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
44
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
44
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
45
45
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
46
46
# - Unpack the toolchain, set libs permissions, and clean up.
47
47
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ RUN set -e; \
56
56
&& export GNUPGHOME="$(mktemp -d)" \
57
57
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
58
58
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
59
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
59
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
60
60
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
61
61
# - Unpack the toolchain, set libs permissions, and clean up.
62
62
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ RUN set -e; \
62
62
&& export GNUPGHOME="$(mktemp -d)" \
63
63
&& curl -fsSL ${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
64
64
${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
65
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
65
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
66
66
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
67
67
# - Unpack the toolchain, set libs permissions, and clean up.
68
68
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN set -e; \
41
41
&& export GNUPGHOME="$(mktemp -d)" \
42
42
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
43
43
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
44
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
44
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
45
45
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
46
46
# - Unpack the toolchain, set libs permissions, and clean up.
47
47
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ RUN set -e; \
53
53
&& export GNUPGHOME="$(mktemp -d)" \
54
54
&& curl -fsSL ${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
55
55
${SWIFT_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
56
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
56
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
57
57
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
58
58
# - Unpack the toolchain, set libs permissions, and clean up.
59
59
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ RUN set -e; \
59
59
&& export GNUPGHOME="$(mktemp -d)" \
60
60
&& curl -fsSL ${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download} -o latest_toolchain.tar.gz \
61
61
${PLATFORM_WEBROOT}/${DOWNLOAD_DIR}/${download_signature} -o latest_toolchain.tar.gz.sig \
62
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
62
+ && curl -fSsL --compressed https://swift.org/keys/all-keys.asc | gpg --import - \
63
63
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
64
64
# - Unpack the toolchain, set libs permissions, and clean up.
65
65
&& 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
- && curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
45
+ && curl -fSsL --compressed 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 \
You can’t perform that action at this time.
0 commit comments