Skip to content

Commit 3c545a9

Browse files
committed
Add initial setup for Swift in devcontainer
1 parent 39f8c1c commit 3c545a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.devcontainer/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ RUN sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu fo
8282
## using 1.x right now.... in future checkout snap or adobe air?
8383

8484
# Setup Swift
85-
## ?
85+
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 && \
86+
tar -xzf ~/swift/swift.tar.gz -C ~/swift --strip-components=1
87+
ENV PATH=$PATH:~/swift/usr/bin
8688

8789
# Setup viml
8890
## ?

0 commit comments

Comments
 (0)