Sign inSign up

intenthq/sbt-alpine

By intenthq

•Updated about 8 years ago

Simple Docker container that has SBT and Docker installed within the latest stable Alpine image.

Image
0

397

intenthq/sbt-alpine repository overview

⁠SBT on Alpine Docker Build Status

This is a simple Docker image for building and testing your Scala project.

The image contains the latest Alpine, with SBT and Docker installed (the latest package available from the edge Alpine repository). It is based upon the latest openjdk image.

⁠Current Versions

  • Scala: 12.2.6
  • Docker: 18.03.1
  • SBT: 1.2.1
  • Java: 8u171
  • Alpine: 3.8

⁠Usage

Mount your project within /workdir, and by default it will run test for you:

docker run intenthq/sbt-alpine \
  -v ./src:/workdir/src \
  -v ./project:/workdir/project \
  -v ./build.sbt:/workdir/build.sbt \
  -v ./.sbtopts:/workdir/.sbtopts \

Want to override the default test command? Just supply an argument to the run:

docker run intenthq/sbt-alpine \
  -v ./src:/workdir/src \
  -v ./project:/workdir/project \
  -v ./build.sbt:/workdir/build.sbt \
  -v ./.sbtopts:/workdir/.sbtopts \
  it:test

Tag summary

Content type

Image

Digest

Size

305.5 MB

Last updated

about 8 years ago

docker pull intenthq/sbt-alpine