dluc / docker-sbt

SBT Docker images based on Alpine Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

SBT Docker images based on Alpine Linux

License:ISC License