Public | Automated Build

Last pushed: 4 months ago
Short Description
A Java development image with Gradle installed.
Full Description


A Java development image with Gradle installed.

How to build

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.

Docker Pull Command
Source Repository

Comments (3)
a year ago

Any chance of updating to gradle 2.14.1?

a year ago

I think just setting TERM=linux should work. No need for xterm...

a year ago

When running "gradle" I get:
FAILURE: Build failed with an exception.

  • What went wrong:
    Could not open terminal for stdout: $TERM not set

I had to apt-get install xterm and export TERM=xterm to get gradle to work.

Not too sure about this, but isn't this image supposed to provide this?