Simple S2I Builder Image for Play and Java
1M+
A very simple S2I builder which builds Java Play applications.
The assemble script runs sbt stage and moves the built artifacts to
/opt/app-root/bin.
It also supports incremental builds, so if there are already artifacts available, they will be restored before calling the build command.
Directories saved during save-artifacts:
.ivy2target.sbt| Name | Description | Default value |
|---|---|---|
| INITIAL_CLEAN | Runs "sbt clean" before test | false |
| RUN_TESTS | Runs "sbt test" if true | false |
| TASK_CLEAN | Runs "sbt clean" between test and build if true | false |
To execute the built application the script will be searched under
/opt/app-root/bin/bin and if found executed. Customization can be done using
the PLAY_START_PARAMETER environment variable.
| Name | Description | Default value |
|---|---|---|
| PLAY_START_PARAMETER | Parameters passed to the run script | |
| USER_NAME | Username for the random uid | play |
Content type
Image
Digest
Size
387 MB
Last updated
almost 6 years ago
docker pull appuio/s2i-play-java