Skip to content

Commit c62d37e

Browse files
committed
Fix devcontainer fox Kotlin
1 parent 71e7bde commit c62d37e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.devcontainer/Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@ ENV PATH=$PATH:~/dlang/dmd-$DLANG_VERSION/linux/bin64/
4040
RUN sudo sh -c 'wget -c https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local'
4141
ENV PATH=$PATH:/usr/local/go/bin
4242

43-
# Setup Kotlin (doesnt unzip right maybe?)
44-
RUN sudo sh -c 'wget -c https://github.com/JetBrains/kotlin/releases/download/v1.5.30/kotlin-compiler-1.5.30.zip -O /usr/local/kotlinc.zip'
45-
RUN unzip /usr/local/kotlinc.zip
46-
ENV PATH=$PATH:/usr/local/kotlinc/bin
43+
# Setup Kotlin
44+
RUN mkdir -p ~/kotlin && wget -c https://github.com/JetBrains/kotlin/releases/download/v1.5.30/kotlin-compiler-1.5.30.zip -O ~/kotlin/kotlinc.zip && cd ~/kotlin && unzip kotlinc.zip
45+
ENV PATH=$PATH:~/kotlin/kotlinc/bin
4746

4847
# Setup lolcode
4948
RUN git clone https://github.com/justinmeza/lci.git ~/lolcode && cd ~/lolcode && mkdir build && cd build && cmake .. && make -B

0 commit comments

Comments
 (0)