Public | Automated Build

Last pushed: 2 years ago
Short Description
Scala image for openshift
Full Description

Scala for OpenShift - Docker images

This repository contains the source for building various versions of
the Scala application as a reproducible Docker image using
The resulting image can be run using Docker.


Scala versions currently provided are:

  • SBT 0.13

Java versions currently provided are:

  • Java 1.8.0

CentOS versions currently supported are:

  • CentOS 7


  • CentOS based image

    To build a Scala image from scratch run:

     $ git clone
     $ cd sti-scala/sbt-0.13-java-8
     $ make build


To build a simple Scala-sample-app application
using standalone STI and then run the
resulting image with Docker execute:

  • For CentOS based image
     $ sti build --context-dir=sbt-0.13-java-8/test/test-app/ ticketfly/scala-0.13-java-8-centos7 scala-test-app
     $ docker run -p 9000:9000 scala-test-app

Accessing the application:

$ curl


This repository also provides a S2I test framework,
which launches tests to check functionality of a simple Scala application built on top of the sti-Scala image.

Users can choose between testing a Scala test application based on a RHEL or CentOS image.

  • CentOS based image

     $ cd sti-scala/sbt-0.13-java-8
     $ make test
Docker Pull Command
Source Repository