netty5/docker/README.md
Norman Maurer 3ac9685580
Use aarch_64 in a consistent way (#10845)
Motivation:

We should use aarch_64 in our classifier / jni libname on aarch64 as  os.detected.arch uses the name. Being non consistent (especially across our different projects) already gave us a lot of trouble in the past.
Let's fix this once for all.

Modifications:

Use aarch_64

Result:

More consistent classifier usage on aarch64
2020-12-07 12:14:23 +01:00

27 lines
615 B
Markdown

# 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-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