gradle
Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites. Gradle has been designed to support build automation across multiple languages and platforms including Java, Scala, Android, C/C++, and Groovy, and is closely integrated with development tools and continuous integration servers including Eclipse, IntelliJ, and Jenkins.
See gradle.org for more information
This image is built by IBM to run on the IBM Z architecture and is not affiliated with any other community that provides a version of this image.
License
View license information
here
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Versions
Use the pull string below for the version of this image you require.
8.0.2-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:b45f9ef90e516371ecd94967611e65371b22868e029f2b9fcd05563cff6404a6 |
Vulnerability Report | 10-29-2024 | 7.5.0-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:8c8b122ad3eb3e856bcecf1dae863b6f2b2b7141b3484f4ece9113b9b94b700b |
Vulnerability Report | 10-29-2024 | 7.5.1-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:36f8fd3c9a2a870a3a754777cc617a4a8bf71d4a17d754d0472334ec3d60d5a0 |
Vulnerability Report | 10-29-2024 | 7.4.2-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:304cdedac361a6d2c13196fdd63f3a2440d7d7392eda00e41d95728f58f0d6d0 |
Vulnerability Report | 10-29-2024 | 7.4.1-jdk17 |
docker pull icr.io/ibmz/gradle@sha256:2428af7cd88441ee605f8847f67cab2b2908c6c83c340456dd6493b946d44735 |
Vulnerability Report | 10-29-2024 |
Version |
Pull String |
Security (IBM Cloud) |
Created |
Usage Notes
Create a Dockerfile in your build directory that uses the Gradle base image to run a gradle-task on your project by replacing
{gradle-task}
with the desired task name.
FROM icr.io/ibmz/gradle:[version]
WORKDIR /home/gradle/project
COPY . .
RUN chown -R gradle ../*
USER gradle
CMD [ "gradle", "{gradle-task}" ]
Alternatively you can use the base image in conjunction with a volume that holds the source of your project. Replace the
{gradle-volume}
and
{gradle-task}
with your volume and your desired gradle task.
docker run -it --name gradle-build -v {gradle_volume}:/home/gradle icr.io/ibmz/gradle:[version] gradle {gradle-task}