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.
7.4.2-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:e56faf5e9c6cb95d530ed7f1bb477cb1e5a319abcba41af3a8e0ca31bbcdaf4d |
Vulnerability Report | 10-04-2024 | 7.4.1-jdk17 |
docker pull icr.io/ibmz/gradle@sha256:7df58e2296e1df56417e0023bec06a6cd7d2e391df5eacac1e4f495dd9a12f2d |
Vulnerability Report | 10-04-2024 | 7.5.0-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:581f770addec5822b091b6ed3f776f2eec80950fd6f4ae98d961c2a90124fa46 |
Vulnerability Report | 10-04-2024 | 8.0.2-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:454a07f78636d475dea0a71a5cc5b23ef893e79eee98c3dcd4d8217bca523cea |
Vulnerability Report | 10-04-2024 | 7.5.1-jdk17-jammy |
docker pull icr.io/ibmz/gradle@sha256:19e6b35bf90c319f0a3cd2ed4fd73355725b5fb79192b4e013c934fd6acc2f56 |
Vulnerability Report | 10-04-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}