Browse Source

fix scala

txlyre 1 year ago
parent
commit
d17de8ea8f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      langs/scala/Dockerfile

+ 4 - 1
langs/scala/Dockerfile

@@ -1 +1,4 @@
-RUN apt-get install scala -y
+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