Sign inSign up

chrisipa/gradle

By chrisipa

•Updated almost 5 years ago

Gradle docker image based on Debian Jessie and Oracle JDK 8.

Image
0

10K+

chrisipa/gradle repository overview

⁠Gradle

Gradle docker image based on Debian Jessie and Oracle JDK 8.

⁠Source Code

Sources to build this docker image can be found here⁠.

⁠Description

This Gradle docker image contains the following software components:

⁠How to run the container

⁠Using docker

⁠Preparation: Create a underprivileged user on the host system
  1. Create group and user:
sudo groupadd -g 1001 chrisipa
sudo useradd -u 1001 -g 1001 -m -s /usr/sbin/nologin chrisipa
⁠Example 1: Run version check in Gradle container
  1. Run the Gradle container with the following command:
docker run --rm chrisipa/gradle -version
⁠Example 2: Run project build in Gradle container
  1. Change permissions on your project folder:
sudo chown -R 1001.1001 $(pwd)
  1. Run the Gradle container with the following command:
docker run --rm -v $(pwd):/build chrisipa/gradle build  

⁠Advanced topics

⁠Accept self signed SSL certificates from Gradle JRE

See parent image: chrisipa/jdk⁠

Tag summary

Content type

Image

Digest

Size

215.4 MB

Last updated

almost 5 years ago

docker pull chrisipa/gradle