/docker-sbt

SBT Docker images based on Alpine Linux

ISC LicenseISC

What is SBT?

logo

sbt is an open source build tool for Scala and Java projects, similar to Java's Maven or Ant.

[wikipedia.org/wiki/SBT_(software))

This image is based on Oracle JRE 8.

Usage

You can run the default sbt command simply:

 docker run -ti --rm 1science/sbt sbt 0.13.12

This image is configured with a workdir /app, so to build your project you have to mount a volume for your sources and another at /root/.ivy2 to hold the ivy cache artifacts :

docker run -ti --rm -v "$PWD:/src" -v "$HOME/.ivy2":/root/.ivy2 1science/sbt sbt clean compile

License

All the code contained in this repository, unless explicitly stated, is licensed under ISC license.

A copy of the license can be found inside the LICENSE file.