Scala and sbt Dockerfile
Useful for building in environments like CircleCI v2.
Base Docker Image
- Install Docker
- Pull automated build from public Docker Hub Registry:
- See tags for built specific versions (not the latest ones)
Alternatively, you can build an image from Dockerfile:
docker pull spikerlabs/scala-sbt
Or with specific versions:
docker build -t scala-sbt github.com/spikerlabs/scala-sbt
docker build -t scala-sbt --build-arg SCALA_VERSION=2.12.4 --build-arg SBT_VERSION=0.13.17 github.com/spikerlabs/scala-sbt
docker run -it --rm spikerlabs/scala-sbt /bin/bash
Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.
This code is open source software licensed under the Apache 2.0 License.
This is forked repository with optimisations on top of original hseeberger/scala-sbt.