netty5/docker
Chris Vest b0d1bff64b Make build log output less chatty (#11365)
Motivation:
When Maven does not run in batch mode, it will continuously print its progress as it downloads dependencies.
This can produce a very large amount of log output, that makes it harder to debug build failures.

Modification:
Make all Maven builds run in batch mode by adding the `-B` command line flag, and have transfer progress suppressed with the `-ntp` flag.
Some builds were already running batch mode but had the flag in a different location – these have had their `-B` flag moved so all builds are consistent.

Result:
Much less output in our build logs where Maven is just downloading stuff.
2021-06-07 10:54:43 +02:00
..
docker-compose.centos-6.111.yaml Update java versions (#11217) 2021-05-02 13:47:33 +02:00
docker-compose.centos-6.116.yaml Fix java version for java16 (#11243) 2021-05-12 14:04:16 +02:00
docker-compose.centos-6.graalvm111.yaml Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00
docker-compose.centos-6.openj9111.yaml Update java versions (#11217) 2021-05-02 13:47:33 +02:00
docker-compose.centos-7.yaml Make build log output less chatty (#11365) 2021-06-07 10:54:43 +02:00
docker-compose.yaml Make build log output less chatty (#11365) 2021-06-07 10:54:43 +02:00
Dockerfile.centos6 Try to stabilize docker build by using https (#11070) 2021-03-09 09:10:36 +01:00
Dockerfile.cross_compile_aarch64 Let's use gcc10 when cross-compiling for LSE support (#11112) 2021-03-25 09:34:08 +01:00
README.md Bring forward build automation changes (#11052) 2021-03-02 17:44:03 +01:00

Using the docker images

cd /path/to/netty/

centos 6 with java 11

docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run test

aarch64 cross compile for transport-native-epoll on X86_64

docker-compose -f docker/docker-compose.yaml run cross-compile-aarch64-build

The default version of aarch64 gcc is 4.9-2016.02. Update the parameter gcc_version in docker-compose.yaml to use a version you want.

etc, etc