/sbt-docker

The docker image for sbt environment

sbt-docker

The docker image for sbt environment

To use this container to compile your application

docker run -ti --rm -v "<your_project_dir>:/app" jiezhang/sbt sbt clean compile

For Example, to compile cosmos, you can run

cd cosmos
docker run -v $PWD:/app --rm=true jiezhang/sbt:0.13.9 sbt clean one-jar

After build successful, you can find the one-jar from cosmos/cosmos-server/target/scala-2.11/, for examlple

cosmos/cosmos-server/target/scala-2.11/cosmos-server_2.11-0.2.0-SNAPSHOT-one-jar.jar