docker build -t scala_repl
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 |