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

ivelasquez-rl/dind-gradle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

Docker in Docker with gradle

Docker in docker with Gradle. Used for CI.

Usage

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.2.1 with Alpine Linux and JDK 17

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

  2. Build and push

docker build . -t dtforce/dind-gradle:v8.2.1-alp-jdk17-py
docker push dtforce/dind-gradle:v8.2.1-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

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%