I took the very useful Dockerfile from Alex and updated it to split
the Maven build into a separate script.

There are now two stages:
- create the build environment with all the necessary tools
- run Maven to build the various objects

The container uses the source (and Maven repo) from the host, so the
output is generated on the host.

This means it is easy to make source changes; the Docker build should
rarely need updating.
For details, please see
https://github.com/apache/commons-crypto/tree/sebb-docker/src/docker

To try it, check out the sebb-docker branch and cd src/docker

It probably needs some tweaking...

Sebb

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to