Public | Automated Build

Last pushed: 23 days ago
Dockerfile
FROM openjdk:8u151-jdk ARG SCALA_VERSION=2.12.4 ARG SCALA_BINARY_ARCHIVE_NAME=scala-${SCALA_VERSION} ARG SCALA_BINARY_DOWNLOAD_URL=http://downloads.lightbend.com/scala/${SCALA_VERSION}/${SCALA_BINARY_ARCHIVE_NAME}.tgz ARG SBT_VERSION=0.13.15 ARG SBT_BINARY_ARCHIVE_NAME=sbt-${SBT_VERSION} ARG SBT_BINARY_DOWNLOAD_URL=https://dl.bintray.com/sbt/native-packages/sbt/${SBT_VERSION}/${SBT_BINARY_ARCHIVE_NAME}.tgz ENV SCALA_HOME /usr/local/scala ENV SBT_HOME /usr/local/sbt ENV PATH $JAVA_HOME/bin:$SCALA_HOME/bin:$SBT_HOME/bin:$PATH RUN wget -qO - ${SCALA_BINARY_DOWNLOAD_URL} | tar -xz -C /usr/local/ && \ wget -qO - ${SBT_BINARY_DOWNLOAD_URL} | tar -xz -C /usr/local/ && \ cd /usr/local/ && \ ln -s ${SCALA_BINARY_ARCHIVE_NAME} scala CMD ["/usr/local/scala/bin/scala"]
Source Repository