Start a Jenkins slave using JNLP with Oracle Java Development Kit (JDK), Maven and Scala SBT.
docker run -d heliostech/jenkins-jnlp-java -url http://jenkins-server:port <secret> <slave name>
You need the plugin EnvInject Plugin installed on the jenkins master.
Select "Inject environment variables to the build process" and set the "Properties File Path" to /etc/docker.properties
This container is part of DevStack, a project to facilitate DevOps work with continuous integration and deployment environment ready to use.