netty5/docker/README.md
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

609 B

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