Last active
December 20, 2019 16:35
-
-
Save Juju-62q/76fccdf6bb940af8e5b766f7a9ab845e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.6" | |
services: | |
scala: | |
build: . | |
tty: true | |
volumes: | |
- ./:/src | |
working_dir: /src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM oracle/graalvm-ce:19.3.0-java8 | |
RUN yum -y update \ | |
&& yum install -y wget curl \ | |
&& curl https://bintray.com/sbt/rpm/rpm | tee /etc/yum.repos.d/bintray-sbt-rpm.repo \ | |
&& yum install -y sbt \ | |
&& wget https://downloads.lightbend.com/scala/2.12.6/scala-2.12.6.tgz \ | |
&& tar xvzf scala-2.12.6.tgz \ | |
&& mv scala-2.12.6 /usr/local/scala \ | |
&& wget https://storage.googleapis.com/hey-release/hey_linux_amd64 \ | |
&& chmod 755 hey_linux_amd64 \ | |
&& mv hey_linux_amd64 /usr/local/bin/hey \ | |
&& gu install native-image \ | |
&& rm -rf scala-2.12.6 && rm scala-2.12.6.tgz \ | |
&& rm -rf /var/cache/yum/* \ | |
&& yum clean all | |
ENV PATH $PATH:/usr/local/scala/bin | |
CMD ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment