Skip to content

Instantly share code, notes, and snippets.

@mather
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save mather/74f74c79e310a5fe2d9b to your computer and use it in GitHub Desktop.

Select an option

Save mather/74f74c79e310a5fe2d9b to your computer and use it in GitHub Desktop.
Scala REPL by Docker

Build

docker build -t scala_repl

Run

Run as interactive mode (-i).

docker run -i scala_repl scala
FROM debian:latest
MAINTAINER mather <[email protected]>
RUN apt-get update
RUN apt-get autoremove -y
RUN apt-get install -y wget openjdk-7-jre
RUN wget http://downloads.typesafe.com/scala/2.11.1/scala-2.11.1.deb
RUN dpkg -i scala-2.11.1.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment