Skip to content

Instantly share code, notes, and snippets.

@HokieGeek
Created August 25, 2016 16:38
Show Gist options
  • Save HokieGeek/474cbf4f28b42649977e21c98b5aa0a9 to your computer and use it in GitHub Desktop.
Save HokieGeek/474cbf4f28b42649977e21c98b5aa0a9 to your computer and use it in GitHub Desktop.
FROM openjdk:jdk
## Install scala
RUN wget http://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz
RUN tar -xvzf scala-2.11.8.tgz
RUN cp scala-2.11.8/bin/* /usr/bin
RUN cp scala-2.11.8/lib/* /usr/lib
RUN rm -rf scala-2.11.8*
## Install sbt
RUN wget https://dl.bintray.com/sbt/native-packages/sbt/0.13.12/sbt-0.13.12.tgz
RUN tar -xvzf sbt-0.13.12.tgz
RUN cp sbt/bin/* /usr/bin
RUN rm -rf sbt-0.13.12.tgz sbt
FROM scala:2.11.8
RUN wget https://github.com/HokieGeek/catacombs/archive/master.zip && unzip master.zip
# COPY ./catacombs.zip catacombs.zip
# RUN unzip catacombs.zip
WORKDIR catacombs-master
RUN scalac RoomRandomizer.scala
CMD ["scala", "RoomRandomizer"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment