Sign inSign up

ticketfly/sbt-0.13-java8-centos7

By ticketfly

Updated over 10 years ago

A Centos7 based SBT v0.13 image using Java 8 for use with OpenShift v3

Image
2

10K+

ticketfly/sbt-0.13-java8-centos7 repository overview

Scala for OpenShift - Docker images

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

Versions

Scala versions currently provided are:

  • SBT 0.13

Java versions currently provided are:

  • Java 1.8.0

CentOS versions currently supported are:

  • CentOS 7

Installation

  • CentOS based image

    To build a Scala image from scratch run:

    $ git clone https://github.com/ticketfly/sti-scala.git
    $ cd sti-scala/sbt-0.13-java-8
    $ make build
    

Usage

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 https://github.com/ticketfly/sti-scala.git --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 127.0.0.1:9000

Test

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
    

Tag summary

Content type

Image

Digest

sha256:42f7f25dd

Size

378.9 MB

Last updated

over 10 years ago

docker pull ticketfly/sbt-0.13-java8-centos7