Skip to content

Commit f174870

Browse files
Update the tar command to use additional tar options
Co-authored-by: Fabian Fett <[email protected]>
1 parent 2cee40e commit f174870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nightly-main/amazonlinux/2/buildx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RUN set -e; \
6161
&& curl -fSsL https://swift.org/keys/all-keys.asc | gpg --import - \
6262
&& gpg --batch --verify latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
6363
# - Unpack the toolchain, set libs permissions, and clean up.
64-
&& tar -xzf latest_toolchain.tar.gz --directory / --strip-components=1 \
64+
&& tar -xzf latest_toolchain.tar.gz --directory / ${ADDITIONAL_TAR_OPTIONS} \
6565
&& chmod -R o+r /usr/lib/swift \
6666
&& rm -rf "$GNUPGHOME" latest_toolchain.tar.gz.sig latest_toolchain.tar.gz \
6767

0 commit comments

Comments
 (0)