Skip to content

Commit d00aab1

Browse files
committed
Go back to installing only runtime libs in the slim images as intended
1 parent 680bd17 commit d00aab1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

5.1/ubuntu/16.04/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RUN set -e; \
3838
&& gpg --batch --quiet --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
3939
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
4040
# - Unpack the toolchain, set libs permissions, and clean up.
41-
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \
41+
&& tar -xzf swift.tar.gz --directory / --strip-components=1 $SWIFT_VERSION-$SWIFT_PLATFORM/usr/lib/swift/linux \
4242
&& chmod -R o+r /usr/lib/swift \
4343
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \
4444
&& apt-get purge --auto-remove -y curl

5.1/ubuntu/18.04/slim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN set -e; \
3939
&& gpg --batch --quiet --keyserver ha.pool.sks-keyservers.net --recv-keys "$SWIFT_SIGNING_KEY" \
4040
&& gpg --batch --verify swift.tar.gz.sig swift.tar.gz \
4141
# - Unpack the toolchain, set libs permissions, and clean up.
42-
&& tar -xzf swift.tar.gz --directory / --strip-components=1 \
42+
&& tar -xzf swift.tar.gz --directory / --strip-components=1 $SWIFT_VERSION-$SWIFT_PLATFORM/usr/lib/swift/linux \
4343
&& chmod -R o+r /usr/lib/swift \
4444
&& rm -rf "$GNUPGHOME" swift.tar.gz.sig swift.tar.gz \
4545
&& apt-get purge --auto-remove -y curl gnupg

0 commit comments

Comments
 (0)