DirectorySecurity advisories
Sign in

Directory

gradle logo

gradle

Last changed
Get started with latest for free
docker pull cgr.dev/chainguard/gradle

Need access to a specific version? Contact us.

Sign in for updates

Get notified of upcoming product changes, critical vulnerability notifications and patches and more.

Sign in
Versions
Overview
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Minimal image with Gradle build system.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/gradle:latest

Using gradle

Chainguard gradle images come with different versions of OpenJDK, ensure you choose the correct image tag for your application needs. In these examples we will use a Chainguard gradle image based on OpenJDK 11.

NOTE: if you are running Docker on Mac M1 you may experience intermittent container high CPU and container / JVM crashes. There have been reports of this behaviour and also affects non Chainguard images. It is expected that using arm based images will address the problem which is in development for Chainguard images. When running the examples below you might experince gradle builds hanging. If you do, you can docker ps and docker kill $PID and retry. This is not an ideal experience and will be improved.

Check the gradle version

 % docker run gradle --version

Welcome to Gradle 8.0.1-20230224000000+0000!

Here are the highlights of this release:
 - Improvements to the Kotlin DSL
 - Fine-grained parallelism from the first build with configuration cache
 - Configurable Gradle user home cache cleanup


------------------------------------------------------------
Gradle 8.0.1-20230224000000+0000
------------------------------------------------------------

Build time:   2023-02-24 00:00:00 UTC
Revision:     68959bf76cef4d28c678f2e2085ee84e8647b77a

Kotlin:       1.8.10
Groovy:       3.0.13
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          11.0.18-internal (wolfi 11.0.18-internal+0-wolfi-r1)
OS:           Linux 5.15.49-linuxkit aarch64
Licenses

Chainguard Images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" version of this image:

  • Apache-2.0

  • BSD-3-Clause

  • Bitstream-Vera

  • FTL

  • GPL-2.0-only

  • GPL-2.0-or-later

  • IJG

View more

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
application
tools

Products

Chainguard Images

© 2024 Chainguard, Inc.