OpenShift s2i builder with sbt
Branch: master
Clone or download
Latest commit 836d93f Dec 6, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
test bootstrapped with s2i v1.1.7 Oct 15, 2017
.gitignore initialize project Oct 15, 2017
Dockerfile headless jdk Dec 6, 2018
Makefile docker build configuration Oct 15, 2017 Add OpenShift Imagestream Dec 9, 2017
plugins.sbt update plugins for sbt 1.x support Apr 17, 2018
sbt.yml Update with fixes Dec 12, 2017
template.yml add some resource limits to the build config to ensure there will be … Apr 17, 2018

s2i for sbt

Created using s2i v1.1.7


Create the s2i image with

#! SBT_VERSION=0.13.16 SCALA_VERSION=2.12.3 make


build an image tagged as image-name

s2i build <path / url> sbt-s2i <image-name>


  • SBT_SUBPROJECT; optional string that specifies the sbt subproject to build in (not needed if not multi-project)
  • plugins.sbt; contains default set of sbt plugins that will be cached during the image build

OpenShift Imagestream

An OpenShift Imagestream is provided that can be used in the OpenSHift console to build applications using this s2i image. To use it, simply add it as follows:

oc create -f sbt.yml

Note the openshift user must have rights to the openshift namespace (i.e. a cluster admin).