A Java development image with Gradle installed.
The Docker image can be built using the following command
docker build -t <your Docker Hub ID>/gradle .
where the dot is the current folder, assuming you are running the docker command from the same folder of the Dockerfile. If you want a specific Gradle version, build the image with this command instead:
docker build -t <your Docker Hub ID>/gradle --build-arg GRADLE_VERSION=<Gradle version> .
This image packages Gradle, which is licensed under the Apache 2.0 license.