Skip to content

Instantly share code, notes, and snippets.

@l15k4
Created October 9, 2015 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save l15k4/80993d80a5d57ea5f08d to your computer and use it in GitHub Desktop.
Save l15k4/80993d80a5d57ea5f08d to your computer and use it in GitHub Desktop.
FROM frolvlad/alpine-oraclejdk8
MAINTAINER Jakub Liska liska.jakub@gmail.com
ENV SCALA_VERSION 2.11.7
ENV SCALA_HOME=/opt/scala-$SCALA_VERSION
ENV PATH=$PATH:$SCALA_HOME/bin
RUN apk --update add bash curl
RUN mkdir /opt && curl -jLks http://downloads.typesafe.com/scala/$SCALA_VERSION/scala-$SCALA_VERSION.tgz | gunzip -c - | tar -xf - -C /opt
RUN apk del curl
ENTRYPOINT ["scala"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment