GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — netty/docker at 4.2 · netty/netty

Expand file tree

/

docker

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

docker

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dockerfile.al2023
Dockerfile.al2023
 
 
Dockerfile.centos6
Dockerfile.centos6
 
 
Dockerfile.centos7
Dockerfile.centos7
 
 
Dockerfile.cross_compile_aarch64
Dockerfile.cross_compile_aarch64
 
 
Dockerfile.cross_compile_riscv64
Dockerfile.cross_compile_riscv64
 
 
README.md
README.md
 
 
docker-compose.al2023.yaml
docker-compose.al2023.yaml
 
 
docker-compose.centos-6.18.yaml
docker-compose.centos-6.18.yaml
 
 
docker-compose.centos-7.111.yaml
docker-compose.centos-7.111.yaml
 
 
docker-compose.centos-7.117.yaml
docker-compose.centos-7.117.yaml
 
 
docker-compose.centos-7.18.yaml
docker-compose.centos-7.18.yaml
 
 
docker-compose.centos-7.21.yaml
docker-compose.centos-7.21.yaml
 
 
docker-compose.centos-7.24.yaml
docker-compose.centos-7.24.yaml
 
 
docker-compose.centos-7.25.yaml
docker-compose.centos-7.25.yaml
 
 
docker-compose.centos-7.26.yaml
docker-compose.centos-7.26.yaml
 
 
docker-compose.centos-7.cross.yaml
docker-compose.centos-7.cross.yaml
 
 
docker-compose.centos-7.graalvm121.yaml
docker-compose.centos-7.graalvm121.yaml
 
 
docker-compose.centos-7.yaml
docker-compose.centos-7.yaml
 
 
docker-compose.ubuntu-20.04.cross.yaml
docker-compose.ubuntu-20.04.cross.yaml
 
 
docker-compose.yaml
docker-compose.yaml
 
 
update-sdkman-sha.sh
update-sdkman-sha.sh
 
 

README.md

Outline

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.

riscv64 cross compile for transport-native-epoll on X86_64

docker compose -f docker/docker-compose.ubuntu-20.04.yaml run cross-compile-riscv64-build

etc, etc

Pinned toolchain downloads

The Dockerfiles verify downloaded toolchains (SDKMAN! installer, rustup-init, ARM GCC) against a pinned SHA-256 before using them. SDKMAN! does not version its installer script, so if a docker build fails with a checksum mismatch for sdkman-install.sh, review the new script and refresh the pinned hash in all Dockerfiles with:

docker/update-sdkman-sha.sh

Use docker/update-sdkman-sha.sh --check to only verify whether the pinned hashes are still current.

Minimum glibc version of the native libraries

Dockerfile.centos7 and Dockerfile.cross_compile_aarch64 set NETTY_CHECK_NATIVE_GLIBC_VERSIONS=true, which activates the check-native-glibc-versions profile in pom.xml. It fails the build if a Linux native library requires a glibc symbol version newer than GLIBC_2.14 (x86_64) or GLIBC_2.17 (aarch64). Version needs marked as WEAK are only reported, as they do not prevent loading the library. Modules can opt out by setting the skipNativeGlibcVersionsCheck property to true, which codec-native-quic does. The check is done by .github/scripts/check_native_glibc_versions.sh, which can also be run by hand:

bash .github/scripts/check_native_glibc_versions.sh transport-native-epoll/target/classes/META-INF/native

Builds outside of these images are not checked, as they are usually done against a newer glibc.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.