Java 8 container with a GitLab CI runner and Gradle to deploy new versions on-the-fly.
The GitLab CI runner has to be configured via the environment variables:
CI_NAMEname of the runner
CI_URLURL of the GitLab CI instance
CI_TOKENtoken to identify the project
CI_SSHssh key to identify the runner (base64 encoded)
CI_SSH_PUBpublic ssh key to identify the runner (base64 encoded)
Exposes ports 80, 8080, 443, 8443, 10080 and 1111
To start the deployed application, a
start.sh needs to be put under
/data/services by the CI script.
Gradle not found
If the CI script can not find Gradle you can use