Skip to content

Commit 42a6d99

Browse files
committed
Add initial setup for Swift in devcontainer
1 parent 39f8c1c commit 42a6d99

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.devcontainer/Dockerfile

Lines changed: 7 additions & 5 deletions
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
## ?
@@ -98,9 +100,9 @@ RUN sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu fo
98100

99101

100102
# Install the packages that needed extra help
101-
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
102-
&& apt-get -y install --no-install-recommends crystal dart nim powershell scala dotnet-sdk-5.0 r-base
103+
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
104+
# && apt-get -y install --no-install-recommends crystal dart nim powershell scala dotnet-sdk-5.0 r-base
103105

104-
RUN pip install wheel matplotlib numpy coconut
106+
# RUN pip install wheel matplotlib numpy coconut
105107

106-
RUN sudo sh -c 'npm install -g typescript'
108+
# RUN sudo sh -c 'npm install -g typescript'

0 commit comments

Comments
 (0)