Around 10% faster than conventional one which is relevant for 'low-end' devices
x86_64 Linux with docker, user with UID 10001, a member of GID 10001 and docker groups, enough disk space to store openJDK source and build dir in ${HOME}
DOCKER_BUILDKIT=1 docker build . --file=Dockerfile.alpine --target=jdkbuilder --tag=aashipov/openjdk-build:alpinejdkbuilder && docker push aashipov/openjdk-build:alpinejdkbuilder
DOCKER_BUILDKIT=1 docker build . --file=Dockerfile.centos --target=jdkbuilder --tag=aashipov/openjdk-build:centosjdkbuilder && docker push aashipov/openjdk-build:centosjdkbuilder
Centos, Debian, Alpine or openSUSE container to build openJDK 8, 11 or 17
DISTRO=alpine JAVA_VERSION=11 docker-compose -f docker-compose.yml run --rm jdk
DISTRO=centos JAVA_VERSION=8 docker-compose -f docker-compose.yml run --rm jdk
Clone, cd, run bash entrypoint8.bash
, bash entrypoint9plus.bash 11
or bash entrypoint9plus.bash 17
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
On the host git config --global http.postBuffer 1048576000
and git clone ...
Perl "Artistic License"