Reduce size of swift image (#9614)

This commit is contained in:
jonathanmetzman 2023-02-06 23:04:26 -05:00 committed by GitHub
parent a75aab95ec
commit f750fddc97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ apt-get update && apt install -y $SWIFT_PACKAGES && \
wget https://download.swift.org/swift-5.7-release/ubuntu2004/swift-5.7-RELEASE/swift-5.7-RELEASE-ubuntu20.04.tar.gz wget https://download.swift.org/swift-5.7-release/ubuntu2004/swift-5.7-RELEASE/swift-5.7-RELEASE-ubuntu20.04.tar.gz
tar xzf swift-5.7-RELEASE-ubuntu20.04.tar.gz tar xzf swift-5.7-RELEASE-ubuntu20.04.tar.gz
cp -r swift-5.7-RELEASE-ubuntu20.04/usr/* /usr/ cp -r swift-5.7-RELEASE-ubuntu20.04/usr/* /usr/
rm -rf swift-5.7-RELEASE-ubuntu20.04.tar.gz rm -rf swift-5.7-RELEASE-ubuntu20.04.tar.gz swift-5.7-RELEASE-ubuntu20.04/
# TODO: Move to a seperate work dir # TODO: Move to a seperate work dir
git clone https://github.com/llvm/llvm-project.git git clone https://github.com/llvm/llvm-project.git
cd llvm-project cd llvm-project