From 3c545a998239814fc2f1a4733d8657ccfdcac4fd Mon Sep 17 00:00:00 2001 From: Dimitri Belopopsky Date: Tue, 12 Oct 2021 16:11:58 +0200 Subject: [PATCH] Add initial setup for Swift in devcontainer --- .devcontainer/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e014b404b..ce25e7408 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -82,7 +82,9 @@ RUN sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu fo ## using 1.x right now.... in future checkout snap or adobe air? # Setup Swift -## ? +RUN mkdir -p ~/swift && wget https://swift.org/builds/swift-5.5-release/ubuntu2004/swift-5.5-RELEASE/swift-5.5-RELEASE-ubuntu20.04.tar.gz -O ~/swift/swift.tar.gz && \ + tar -xzf ~/swift/swift.tar.gz -C ~/swift --strip-components=1 +ENV PATH=$PATH:~/swift/usr/bin # Setup viml ## ?