HUB
Sign inSign up
ant-builder logo

simontim/ant-builder

By simontim

•Updated over 5 years ago

Ant image to compile java applications

Image
0

243

simontim/ant-builder repository overview

A simple image with Java and Ant. I created it for implementing a multi-stage build process for Tomcat, and it can be used with generic Java application.

For details:

https://mastrodonato07.medium.com/a-container-based-multi-stage-build-environment-to-compile-tomcat-from-source-86e6c8cb918c⁠

FROM openjdk

WORKDIR /opt

ENV ANT_VERSION apache-ant-1.10.11

RUN curl -O https://dlcdn.apache.org//ant/binaries/$ANT_VERSION-bin.tar.gz⁠

RUN tar -xf $ANT_VERSION-bin.tar.gz

ENV ANT_HOME /opt/$ANT_VERSION

ENV PATH $PATH:$ANT_HOME/bin

Tag summary
Recent tags
Content type
Image
Digest
Size
242.4 MB
Last updated
over 5 years ago
docker pull simontim/ant-builder:latest