Sign inSign up

chrisipa/ant

By chrisipa

•Updated almost 5 years ago

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

Image
0

10K+

chrisipa/ant repository overview

⁠Apache Ant

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

⁠Source Code

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

⁠Description

This Ant 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 Ant container
  1. Run the Ant container with the following command:
docker run --rm chrisipa/ant -version
⁠Example 2: Run project build in Ant container
  1. Change permissions on your project folder:
sudo chown -R 1001.1001 $(pwd)
  1. Run the Ant container with the following command:
docker run --rm -v $(pwd):/build chrisipa/ant  

⁠Advanced topics

⁠Accept self signed SSL certificates from Ant JRE

See parent image: chrisipa/jdk⁠

Tag summary

Content type

Image

Digest

Size

152.1 MB

Last updated

almost 5 years ago

docker pull chrisipa/ant