netty5/docker
wangxiyuan 660611c450
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-04-23 13:58:08 +02:00
..
docker-compose.centos-6.18.yaml Update to java8-242 (#9978) 2020-01-29 14:56:11 +01:00
docker-compose.centos-6.19.yaml Update to latest JDK releases in our CI (#8969) 2019-03-22 15:22:47 +01:00
docker-compose.centos-6.110.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 13:59:36 +02:00
docker-compose.centos-6.111.yaml Use latest java 11 version when building via docker (#9968) 2020-01-28 05:32:31 +01:00
docker-compose.centos-6.112.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 13:59:36 +02:00
docker-compose.centos-6.113.yaml Add JDK 14 and update JDK 13 for builds (#10136) 2020-03-26 10:26:20 +01:00
docker-compose.centos-6.114.yaml Add JDK 14 and update JDK 13 for builds (#10136) 2020-03-26 10:26:20 +01:00
docker-compose.centos-6.graalvm1.yaml Upgrade various JDK flavors / version in our docker-compose files (#9737) 2019-10-31 12:16:24 +01:00
docker-compose.centos-6.openj9111.yaml Use latest java 11 version when building via docker (#9968) 2020-01-28 05:32:31 +01:00
docker-compose.centos-7.18.yaml Update to java8-242 (#9978) 2020-01-29 14:56:11 +01:00
docker-compose.centos-7.19.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 13:59:36 +02:00
docker-compose.centos-7.110.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 13:59:36 +02:00
docker-compose.centos-7.111.yaml Use latest java 11 version when building via docker (#9968) 2020-01-28 05:32:31 +01:00
docker-compose.centos-7.112.yaml Cleanup docker / docker-compose configs (#9473) 2019-08-16 13:59:36 +02:00
docker-compose.centos-7.113.yaml Add JDK 14 and update JDK 13 for builds (#10136) 2020-03-26 10:26:20 +01:00
docker-compose.centos-7.114.yaml Add JDK 14 and update JDK 13 for builds (#10136) 2020-03-26 10:26:20 +01:00
docker-compose.yaml Add epoll aarch64 maven config and Dockerfile (#9804) 2020-04-23 13:58:08 +02:00
Dockerfile.centos Remove deprecated GraalVM native-image flags (#9118) 2019-05-22 19:20:54 +02:00
Dockerfile.cross_compile_aarch64 Add epoll aarch64 maven config and Dockerfile (#9804) 2020-04-23 13:58:08 +02:00
README.md Add epoll aarch64 maven config and Dockerfile (#9804) 2020-04-23 13:58:08 +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