Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 905 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 905 Bytes

jenkins-java-8-11-docker

Dockerfile to create a Jenkins CI image with Java 8, Java 11 and Java 17 support incl. installed docker-ce inside the Jenkins container to allow for docker container execution within Jenkins. Furthermore, ecCodes is installed as this is a required dependency for our integration tests in DWDWeatherTools.

Additional configuration

Depending on your firewall settings and if you want to use docker container inside your jenkins pipeline
(e.g. the famous testcontainers library) you might need to adapt your firewall settings to allow jenkins to connect to container on the same host. The following command adds the required permissions for the
docker0 interface:

sudo ufw allow in on docker0 from 172.17.0.0/16 to 172.17.0.0/16