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 openjdk:8u151-jre-alpine | |
ENV SCALA_VERSION=2.12.4 \ | |
SCALA_HOME=/usr/share/scala | |
# NOTE: bash is used by scala/scalac scripts, and it cannot be easily replaced with ash. | |
RUN apk add --no-cache --virtual=.build-dependencies wget ca-certificates && \ | |
apk add --no-cache bash curl jq && \ | |
cd "/tmp" && \ | |
wget --no-verbose "https://downloads.typesafe.com/scala/${SCALA_VERSION}/scala-${SCALA_VERSION}.tgz" && \ |
NewerOlder