Simple dockerfiles for creating Alibaba Dragonwell JDK (Standard Edition) docker images.
Version | Arch | Base Image | Version |
---|---|---|---|
8 | x86_64 | debian bookworm | 8.23.22_jdk8u432 |
11 | x86_64 | debian bookworm, alpine 3.20 | 11.0.25.21.9 |
17 | x86_64 | debian bookworm, alpine 3.20 | 17.0.13.0.14+9 |
21 | x86_64 | debian bookworm, alpine 3.20 | 21.0.5.0.5+9 |
Build dragonwell 21 alpine image:
docker build -t dragonwell:jdk21-alpine ./jdk21/alpine
Build custom image with alternative openjdk binaries (e.g. Adoptium OpenJDK) and base image (e.g. ubuntu) using the "base" Dockerfile:
docker build -t $tag\
--build-arg DOWNLOAD_URL=$jdk_bin_tar_url\
--build-arg BASE_IMAGE=ubuntu:22.04\
./base