netty5/docker
Norman Maurer 0f25213918
Workaround frequent connection reset / timeout on CI (#11231)
Motivation:

It seems like it is a known issue that maven frequently sees connection reset / connection timeout during CI builds. We should workaround these issues like others did:

- https://github.com/kiegroup/kie-wb-common/pull/3416

Modifications:

Add extra maven options during build to reduce the likelyness of timeouts / resets

Result:

More stable builds
2021-05-07 13:40:31 +02:00
..
docker-compose.centos-6.18.yaml Update java versions (#11217) 2021-05-01 12:35:47 +02:00
docker-compose.centos-6.111.yaml Update java versions (#11217) 2021-05-01 12:35:47 +02:00
docker-compose.centos-6.116.yaml Update from JDK15 to JDK16 (#11218) 2021-05-03 18:15:37 +02:00
docker-compose.centos-6.graalvm18.yaml Also include one PR job that uses boringssl (#10886) 2020-12-23 19:11:04 +01:00
docker-compose.centos-6.graalvm111.yaml Also include one PR job that uses boringssl (#10886) 2020-12-23 19:11:04 +01:00
docker-compose.centos-6.openj9111.yaml Update java versions (#11217) 2021-05-01 12:35:47 +02:00
docker-compose.centos-7.yaml Workaround frequent connection reset / timeout on CI (#11231) 2021-05-07 13:40:31 +02:00
docker-compose.yaml Workaround frequent connection reset / timeout on CI (#11231) 2021-05-07 13:40:31 +02:00
Dockerfile.centos6 Try to stabilize docker build by using https (#11070) 2021-03-09 09:10:02 +01:00
Dockerfile.cross_compile_aarch64 Let's use gcc10 when cross-compiling for LSE support (#11112) 2021-03-25 09:32:57 +01:00
README.md Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00

Using the docker images

cd /path/to/netty/

centos 6 with java 8

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

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