Skip to content

Instantly share code, notes, and snippets.

@gambtho
Created July 28, 2017 19:31
Show Gist options
  • Save gambtho/c781a9a00663cc0829b35870ec87f1e3 to your computer and use it in GitHub Desktop.
Save gambtho/c781a9a00663cc0829b35870ec87f1e3 to your computer and use it in GitHub Desktop.
FROM openjdk:8-jre-alpine
ENV SBT_VERSION 0.13.8
RUN apk add --no-cache bash curl openrc && \
curl -sL "http://dl.bintray.com/sbt/native-packages/sbt/$SBT_VERSION/sbt-$SBT_VERSION.tgz" | gunzip | tar -x -C /usr/local && \
ln -s /usr/local/sbt/bin/sbt /usr/local/bin/sbt && \
chmod 0755 /usr/local/bin/sbt && \
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main --repository http://dl-cdn.alpinelinux.org/alpine/edge/community docker
RUN rc-update add docker
RUN sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment