Skip to content

luprzybyl/docker-scala

Repository files navigation

Travis Status Docker Automated build Docker Build Status Docker Pulls Docker Stars License

Supported tags and respective Dockerfile links


logo

Scala is an acronym for “Scalable Language”. This means that Scala grows with you. You can play with it by typing one-line expressions and observing the results. But you can also rely on it for large mission critical systems.

scala-lang.org

Quick Start

This image provides an specific version of the Scala environment. It consists of the Scala REPL (scala), the Scala compiler (scalac), the Scala class file decoder (scalap), and the Scala documentation generation tool (scaladoc). If not specified any command to execute the bigtruedata/scala image (as specified in the following example), the Scala REPL will be launched.

docker run --rm --tty --interactive bigtruedata/scala

This image can also be use in a standalone fashion the same way as if the environment was directly installed in the local machine. You just need to provide the path to the directory contained the source files to work with and the command to be executed. To avoid writting tons of commands, the following aliases may be handy:

alias scala='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala'
alias scalac='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala scalac'
alias scalap='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala scalap'
alias scaladoc='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala scaladoc'

Versions

This image is based on the openjdk:8-alpine image to provide the Java installation required by the Scala environment. The different versions of this image correspond tho the released versions of Scala that can be downloaded from the Scala downloads website.

About

Docker image providing Java & Scala

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published