Skip to content

Docker image to be used in CI containing gradle, docker and docker-compose commands.

Notifications You must be signed in to change notification settings

DTForce/dind-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

Docker in Docker with gradle

Docker in docker with Gradle. Used for CI.

Usage

  1. Trivial: If you do not want/need to create your own special gradle-jdk combo, feel free to grab any of the images that we have created and pushed over the years here https://hub.docker.com/r/dtforce/dind-gradle/tags

  2. Easy (still): If none of our combos suit your needs, find the base image with Gradle, OS and JDK combo you would like to use here https://hub.docker.com/_/gradle/ & see the Howto section bellow.

Howto (with example)

Example based on Gradle 8.10.2 with Alpine Linux and JDK 17

  1. Touch the Dockerfile in this repo accordingly (i.e. use gradle:8.10.2-jdk17-alpine in FROM)

  2. Build and push (change the dtforce for your own dockerhub organization)

docker build . -t dtforce/dind-gradle:v8.10.2-alp-jdk17-py
docker push dtforce/dind-gradle:v8.10.2-alp-jdk17-py
  1. Use the built image in you CI/CD pipeline and enjoy

About

Docker image to be used in CI containing gradle, docker and docker-compose commands.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •