frolvlad/alpine-glibc
is a glibc-enabled Alpine Linux image, and jdk-11.0.6_linux-x64_bin.tar.gz
is likely a mainland Linux JDK glibc build. In theory, this should be fine, but there may be subtle glibc incompatibilities that cause this.
If you're looking for Java 11 on Alpine, you could just grab the vanilla Alpine 3.11 image, then install the openjdk11
package on top:
sudo docker run -it alpine:3.11
# apk add openjdk11
# java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment (build 11.0.5+10-alpine-r0)
OpenJDK 64-Bit Server VM (build 11.0.5+10-alpine-r0, mixed mode)
If you need 11.0.6 specifically, install the latest openjdk11
package of the edge/community
repository instead:
apk add openjdk11 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community