This repository contains the source for building of Kramerius application as a Docker image using source-to-image. The resulting image can be run using Docker.
To build a Kramerius builder image from scratch, run:
$ git clone https://github.com/moravianlibrary/s2i-kramerius.git
$ cd s2i-kramerius
$ docker build -t kramerius-builder .
To build Kramerius from your own repo using standalone S2I and then run the resulting image with Docker execute:
# use --ref to specify branch/tag
$ s2i build --incremental=true --exclude="" https://github.com/ceskaexpedice/kramerius.git kramerius-builder moravianlibrary/kramerius
$ docker-compose up -d
Accessing the application:
http://localhost:8080/