Sign inSign up

simontim/ant-builder

By simontim

Updated about 5 years ago

Ant image to compile java applications

Image
0

202

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

Content type

Image

Digest

Size

242.4 MB

Last updated

about 5 years ago

docker pull simontim/ant-builder