Skip to content

Use Dragonwell8 docker images

Accelerator1996 edited this page Feb 3, 2023 · 18 revisions

Naming convention of Dragonwell images

Below are Docker images published on Aliyun and DockerHub. You can obtained images after 8.12.13 by yourself according to the rules.

${DRAGONWELL_VERSION}-${EDITION}-${OPT}-${OS}(-slim)?
  • DOCKER REPOSITORY: dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell or registry.hub.docker.com/alibabadragonwell/dragonwell
  • DRAGONWELL_VERSION: such as 8.12.13, you can also write the latest version number 8 which will point to the latest version.
  • EDITION: standard/extended
  • OPT: ga\d+
  • OS: anolis/centos/ubuntu/alpine
  • slim: the image whose tag has -slim postfix is specially trimmed for smaller image size, and its functionality may be incomplete for your application

Current supported platforms

Dragonwell OS Architecture Edition
8 centos amd64,arm64 extended/standard
8 ubuntu amd64,arm64 extended/standard
8 anolis amd64,arm64 extended/standard

List of Dragonwell images

https://hub.docker.com/r/alibabadragonwell/dragonwell/tags

List of Dragonwell images before 8.12.13

Below are Docker images published on Aliyun and DockerHub. You may raise a Dragonwell bug to ask for an image of your OS/arch.
The images listed below are images before 8.12.13, which will be obtained by yourself in the future according to the rules.

Image:Tag arch OS slim?
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-8.12.13_jdk8u345-ga_aarch64_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-8.12.13_jdk8u345-ga_x86_64_slim x86_64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-8.12.13_jdk8u345-ga_aarch64 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-standard-8.12.13_jdk8u345-ga_x86_64 x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-8.8.9_jdk8u302-ga_x86_64_slim x86_64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-8.8.9_jdk8u302-ga_aarch64_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-8.8.9_jdk8u302-ga_x86_64 x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell:dragonwell-8.8.9_jdk8u302-ga_aarch64 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:dragonwell-8.7.7_jdk8u292-ga x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:dragonwell-8.7.7_jdk8u292-ga aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:dragonwell-8.6.6_jdk8u282-ga x86_64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:dragonwell-8.6.6_jdk8u282-ga aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.5.5-FP1_alpine_x86_64_8u275-b2 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.5.5-FP1_alpine_x86_64_8u275-b2_slim x86_64 alpine Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.5.5-FP1_centos_aarch64_8u275-b2 aarch64 centos No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.5.5-FP1_centos_aarch64_8u275-b2_slim aarch64 centos Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.4.4-GA_alpine_x86_64_8u262-b10 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.4.4-GA_alpine_x86_64_8u262-b10_slim x86_64 alpine Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.3.3-GA_alpine_x86_64_8u242-b98 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.3.3-GA_alpine_x86_64_8u242-b98_slim x86_64 alpine Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.2.2-GA_alpine_x86_64_8u232-b82 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.2.2-GA_alpine_x86_64_8u232-b82_slim x86_64 alpine Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.1.1-GA_alpine_x86_64_8u222-b67 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.1.1-GA_alpine_x86_64_8u222-b67_slim x86_64 alpine Yes
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.0.0-GA_alpine_x86_64_8u212-b04 x86_64 alpine No
registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.0.0-GA_alpine_x86_64_8u212-b04_slim x86_64 alpine Yes

The image whose tag has _slim postfix is specially trimmed for smaller image size, and its functionality may be incomplete for your application.

Dockerfile of image

https://github.com/dragonwell-releng/dragonwell-containers

Pull the image

For example(if the current latest version is 8.12.13):

# 8.12.13-extended-ga-anolis
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8-anolis
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8-extended-ga-anolis
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8.12.13-extended-ga-anolis
# 8.12.13-standard-ga-centos
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8-standard-ga-centos
docker pull dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8.12.13-standard-ga-centos

Run in command line

Just like other images

$ sudo docker run -v $PWD:$PWD -it --rm registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:8.4.4-GA_alpine_x86_64_8u262-b10 /bin/sh

FROM as base image

Just change the FROM line like below:

FROM dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8.12.13-extended-ga-centos
# balabala...

Get JDK from image

COPY --from=dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:8.12.13-extended-ga-centos /opt/java/openjdk /opt
Clone this wiki locally