netty5/docker
Norman Maurer 0af6031110
Add deploy job for cross compiled aarch64 (#10883)
Motivation:

We should also deploy snapshots for our cross compiled native jars.

Modifications:

- Add job and docker files for deploying cross compiled native jars
- Ensure we map the maven cache into our docker containers

Result:

Deploy aarch64 jars and re-use cache
2020-12-22 20:43:35 +01:00
..
docker-compose.centos-6.18.yaml Fix deploy config 2020-12-22 18:48:22 +01:00
docker-compose.centos-6.110.yaml Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
docker-compose.centos-6.111.yaml Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
docker-compose.centos-6.115.yaml Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
docker-compose.centos-6.graalvm18.yaml Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
docker-compose.centos-6.graalvm111.yaml Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
docker-compose.centos-6.openj9111.yaml Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
docker-compose.centos-7.yaml Add deploy job for cross compiled aarch64 (#10883) 2020-12-22 20:43:35 +01:00
docker-compose.yaml Add deploy job for cross compiled aarch64 (#10883) 2020-12-22 20:43:35 +01:00
Dockerfile.centos6 Use Github workflows for CI (#10879) 2020-12-22 18:33:14 +01:00
Dockerfile.cross_compile_aarch64 Add epoll aarch64 maven config and Dockerfile (#9804) 2020-04-23 13:58:08 +02: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