Browse Source

fix scala

txlyre 1 year ago
parent
commit
f0ce4c3edb
2 changed files with 5 additions and 5 deletions
  1. 1 4
      langs/scala/Dockerfile
  2. 4 1
      langs/scala/Dockerfile.user

+ 1 - 4
langs/scala/Dockerfile

@@ -1,4 +1 @@
-RUN apt-get install openjdk-17-jdk-headless openjdk-17-jre-headless curl -y
-RUN curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs 
-RUN yes | ./cs setup
-RUN rm ./cs
+RUN apt-get install openjdk-17-jdk-headless openjdk-17-jre-headless curl -y

+ 4 - 1
langs/scala/Dockerfile.user

@@ -1 +1,4 @@
-ENV PATH="${PATH}:~/.local/share/coursier/bin"
+RUN curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs 
+RUN yes | ./cs setup
+RUN rm ./cs
+ENV PATH="${PATH}:/home/user/.local/share/coursier/bin"