Sign inSign up

pdouble16/gradle-dockercompose

By pdouble16

Updated over 8 years ago

Docker images for combinations of Gradle + Docker + Docker Compose targetted for CI environments.

Image
0

10K+

pdouble16/gradle-dockercompose repository overview

Gradle + Docker + Docker Compose

Produces Docker images for combinations of Gradle + Docker + Docker Compose targetted for CI environments.

The official library/gradle images are used as a base. Docker and Docker Compose are added on to it.

The repo tag determines the versions of each tool. The format is:

GRADLETAG_DOCKERVERSION_COMPOSEVERSION

Examples:

  • 3.5-jdk_17.04.0-ce_1.12.0
  • 3.4.1-jdk-alpine_17.04.0-ce_1.12.0

The Dockerfile is assembled at build time based on the tag. See hooks/build and hooks/env. See also hook/test for tests done after the image is built. See https://docs.docker.com/docker-cloud/builds/advanced/#custom-build-phase-hooks for build hook documentation.

Updating Tags

Updating tags for the permutations of versions can be done using the script at maintenance/update-tags.sh.

  1. Update maintenance/update-tags.sh with the desired versions of Docker and Docker Compose.
  2. Run the script to ensure the new tags are correct.
  3. ./maintenance/update-tags.sh | xargs -L 1 git tag && git push --tags

Tag summary

Content type

Image

Digest

Size

381.5 MB

Last updated

over 8 years ago

docker pull pdouble16/gradle-dockercompose