Skip to content

Instantly share code, notes, and snippets.

@l15k4
Created Oct 9, 2015
Embed
What would you like to do?
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