This is a functional Jenkins server with jenkins-slave and nexus server in Centos:7
This image contains:
I created scripts with Jenkins and Nexus installations from official site, Jenkins slave image and Docker Compose wrapper.
./sandbox-run.sh
docker-compose logs -f jenkins-master
When it finishes downloading the data, start the script:
pushd jnk && ./plugins.sh && popd
pushd nxs && ./pypi-init.sh && popd
http://localhost:8083
http://localhost:8089