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> .
Any chance of updating to gradle 2.14.1?
I think just setting TERM=linux should work. No need for xterm...
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?