Skip to content

Commit

Permalink
Update 29-config-custom
Browse files Browse the repository at this point in the history
  • Loading branch information
rursache authored Jan 20, 2023
1 parent 3dea0b8 commit 1e9a5dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/etc/cont-init.d/29-config-custom
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ echo "Installing Swift dependencies"
apt update && apt install binutils git gnupg2 libc6-dev libcurl4 libedit2 libgcc-9-dev libpython2.7 libsqlite3-0 libstdc++-9-dev libxml2 libz3-dev pkg-config tzdata uuid-dev zlib1g-dev libpython3.10-dev -y

echo "Installing Swift binaries"
curl https://download.swift.org/swift-5.7.1-release/ubuntu2204/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-ubuntu22.04.tar.gz --output swift.tar.gz
curl https://download.swift.org/swift-5.7.3-release/ubuntu2204/swift-5.7.3-RELEASE/swift-5.7.3-RELEASE-ubuntu22.04.tar.gz --output swift.tar.gz
tar zxvf swift.tar.gz
rm swift.tar.gz
mv swift-5.7.1-RELEASE-ubuntu22.04/ swift
mv swift-5.7.3-RELEASE-ubuntu22.04/ swift

echo "Adding Swift to PATH"
echo 'export PATH=/swift/usr/bin:"${PATH}"' >> /root/.bashrc
Expand Down

0 comments on commit 1e9a5dc

Please sign in to comment.