Skip to content

Commit a869114

Browse files
authored
Add initial setup for Swift in devcontainer (#880)
1 parent c206831 commit a869114

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
@@ -83,7 +83,9 @@ RUN sudo add-apt-repository 'deb http://ppa.launchpad.net/plt/racket/ubuntu foca
8383
## using 1.x right now.... in future checkout snap or adobe air?
8484

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

8890
# Setup viml
8991
## ?

0 commit comments

Comments
 (0)