netty5/docker
wangxiyuan 187bdc2562 Add epoll aarch64 maven config and Dockerfile (#9804)
Motivation:

`transport-native-epoll` doesn't have ARM release package. 

Modification:

This PR added cross compile profile for epoll. Then we can easily build aarch64 package on X86 machine. 

Result:
Fixes #8279
2020-05-14 09:32:11 +02:00
..
docker-compose.centos-6.18.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.centos-6.19.yaml Update to latest JDK releases in our CI (#8969) 2019-03-22 15:23:12 +01:00
docker-compose.centos-6.110.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 14:00:18 +02:00
docker-compose.centos-6.111.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.centos-6.112.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 14:00:18 +02:00
docker-compose.centos-6.113.yaml Use correct JDK 13 version (#10276) 2020-05-13 07:18:43 +02:00
docker-compose.centos-6.114.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.centos-6.graalvm1.yaml Upgrade various JDK flavors / version in our docker-compose files (#9737) 2019-10-31 12:16:50 +01:00
docker-compose.centos-6.openj9111.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.centos-7.18.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.centos-7.19.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 14:00:18 +02:00
docker-compose.centos-7.110.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 14:00:18 +02:00
docker-compose.centos-7.111.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.centos-7.112.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 14:00:18 +02:00
docker-compose.centos-7.113.yaml Use correct JDK 13 version (#10276) 2020-05-13 07:18:43 +02:00
docker-compose.centos-7.114.yaml Update Java versions (#10273) 2020-05-12 08:49:09 +02:00
docker-compose.yaml Add epoll aarch64 maven config and Dockerfile (#9804) 2020-05-14 09:32:11 +02:00
Dockerfile.centos Remove deprecated GraalVM native-image flags (#9118) 2019-05-22 19:22:03 +02:00
Dockerfile.cross_compile_aarch64 Add epoll aarch64 maven config and Dockerfile (#9804) 2020-05-14 09:32:11 +02:00
README.md Add epoll aarch64 maven config and Dockerfile (#9804) 2020-05-14 09:32:11 +02: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 7 with java 11

docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-7.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

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