Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Zulu Images from Azul systems #14593

Closed
wants to merge 1 commit into from

Conversation

it-mak
Copy link

@it-mak it-mak commented May 5, 2023

Documentation MR: docker-library/docs#2320

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@it-mak
Copy link
Author

it-mak commented Jun 13, 2023

I kindly request your review @tianon @yosifkit

@it-mak
Copy link
Author

it-mak commented Jul 20, 2023

PR was updated to last release version, still waiting for comments.

@github-actions

This comment has been minimized.

@gdams
Copy link
Contributor

gdams commented Jul 24, 2023

(an external contributor here so feel free to disregard my comments) but I'd suggest renaming this to azul-zulu to be more consistent with other OpenJDK vendors. It will cause confusion for users and could be considered misleading.

@github-actions
Copy link

Diff for 19ef8c6:
diff --git a/_bashbrew-arches b/_bashbrew-arches
index 8b13789..e85a97f 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -1 +1,2 @@
-
+amd64
+arm64v8
diff --git a/_bashbrew-cat b/_bashbrew-cat
index bdfae4a..c768eba 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -1 +1,86 @@
-Maintainers: New Image! :D (@docker-library-bot)
+Maintainers: Eduard Makedonskii <[email protected]> (@it-mak), Anton Kozlov <[email protected]> (@AntonKozlov), Sergey Grinev <[email protected]> (@sgrinev)
+GitRepo: https://github.com/zulu-openjdk/zulu-openjdk
+
+Tags: 8-alpine, 8u382-alpine, 8u382-8.72.0.17-alpine
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: alpine/8-latest
+
+Tags: 8-centos, 8u382-centos, 8u382-8.72.0.17-centos
+Architectures: amd64, arm64v8
+GitCommit: a84ae34861c5e41fbb2f7c62d11abe3a18071c9f
+Directory: centos/8-latest
+
+Tags: 8-debian, 8u382-debian, 8u382-8.72.0.17-debian
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: debian/8-latest
+
+Tags: 8-ubuntu, 8u382-ubuntu, 8u382-8.72.0.17-ubuntu
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: ubuntu/8-latest
+
+Tags: 11-alpine, 11.0.20-alpine, 11.0.20-11.66.15-alpine
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: alpine/11-latest
+
+Tags: 11-centos, 11.0.20-centos, 11.0.20-11.66.15-centos
+Architectures: amd64, arm64v8
+GitCommit: a84ae34861c5e41fbb2f7c62d11abe3a18071c9f
+Directory: centos/11-latest
+
+Tags: 11-debian, 11.0.20-debian, 11.0.20-11.66.15-debian
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: debian/11-latest
+
+Tags: 11-ubuntu, 11.0.20-ubuntu, 11.0.20-11.66.15-ubuntu
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: ubuntu/11-latest
+
+Tags: 17-alpine, 17.0.8-alpine, 17.0.8-17.44.15-alpine
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: alpine/17-latest
+
+Tags: 17-centos, 17.0.8-centos, 17.0.8-17.44.15-centos
+Architectures: amd64, arm64v8
+GitCommit: a84ae34861c5e41fbb2f7c62d11abe3a18071c9f
+Directory: centos/17-latest
+
+Tags: 17-debian, 17.0.8-debian, 17.0.8-17.44.15-debian
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: debian/17-latest
+
+Tags: 17-distroless, 17.0.8-distroless, 17.0.8-17.44.15-distroless
+GitCommit: a84ae34861c5e41fbb2f7c62d11abe3a18071c9f
+Directory: distroless/17-latest
+
+Tags: 17-ubuntu, 17.0.8-ubuntu, 17.0.8-17.44.15-ubuntu
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: ubuntu/17-latest
+
+Tags: 20-alpine, 20.0.2-alpine, 20.0.2-20.32.11-alpine
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: alpine/20-latest
+
+Tags: 20-centos, 20.0.2-centos, 20.0.2-20.32.11-centos
+Architectures: amd64, arm64v8
+GitCommit: a84ae34861c5e41fbb2f7c62d11abe3a18071c9f
+Directory: centos/20-latest
+
+Tags: 20-debian, 20.0.2-debian, 20.0.2-20.32.11-debian
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: debian/20-latest
+
+Tags: 20-ubuntu, 20.0.2-ubuntu, 20.0.2-20.32.11-ubuntu
+Architectures: amd64, arm64v8
+GitCommit: 63034147c1ec9aab2f3b6aeced311c500f4586d9
+Directory: ubuntu/20-latest
diff --git a/_bashbrew-list b/_bashbrew-list
index e69de29..ced7569 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -0,0 +1,51 @@
+azul-zulu-openjdk:8u382-8.72.0.17-alpine
+azul-zulu-openjdk:8u382-8.72.0.17-centos
+azul-zulu-openjdk:8u382-8.72.0.17-debian
+azul-zulu-openjdk:8u382-8.72.0.17-ubuntu
+azul-zulu-openjdk:8u382-alpine
+azul-zulu-openjdk:8u382-centos
+azul-zulu-openjdk:8u382-debian
+azul-zulu-openjdk:8u382-ubuntu
+azul-zulu-openjdk:8-alpine
+azul-zulu-openjdk:8-centos
+azul-zulu-openjdk:8-debian
+azul-zulu-openjdk:8-ubuntu
+azul-zulu-openjdk:11-alpine
+azul-zulu-openjdk:11-centos
+azul-zulu-openjdk:11-debian
+azul-zulu-openjdk:11-ubuntu
+azul-zulu-openjdk:11.0.20-11.66.15-alpine
+azul-zulu-openjdk:11.0.20-11.66.15-centos
+azul-zulu-openjdk:11.0.20-11.66.15-debian
+azul-zulu-openjdk:11.0.20-11.66.15-ubuntu
+azul-zulu-openjdk:11.0.20-alpine
+azul-zulu-openjdk:11.0.20-centos
+azul-zulu-openjdk:11.0.20-debian
+azul-zulu-openjdk:11.0.20-ubuntu
+azul-zulu-openjdk:17-alpine
+azul-zulu-openjdk:17-centos
+azul-zulu-openjdk:17-debian
+azul-zulu-openjdk:17-distroless
+azul-zulu-openjdk:17-ubuntu
+azul-zulu-openjdk:17.0.8-17.44.15-alpine
+azul-zulu-openjdk:17.0.8-17.44.15-centos
+azul-zulu-openjdk:17.0.8-17.44.15-debian
+azul-zulu-openjdk:17.0.8-17.44.15-distroless
+azul-zulu-openjdk:17.0.8-17.44.15-ubuntu
+azul-zulu-openjdk:17.0.8-alpine
+azul-zulu-openjdk:17.0.8-centos
+azul-zulu-openjdk:17.0.8-debian
+azul-zulu-openjdk:17.0.8-distroless
+azul-zulu-openjdk:17.0.8-ubuntu
+azul-zulu-openjdk:20-alpine
+azul-zulu-openjdk:20-centos
+azul-zulu-openjdk:20-debian
+azul-zulu-openjdk:20-ubuntu
+azul-zulu-openjdk:20.0.2-20.32.11-alpine
+azul-zulu-openjdk:20.0.2-20.32.11-centos
+azul-zulu-openjdk:20.0.2-20.32.11-debian
+azul-zulu-openjdk:20.0.2-20.32.11-ubuntu
+azul-zulu-openjdk:20.0.2-alpine
+azul-zulu-openjdk:20.0.2-centos
+azul-zulu-openjdk:20.0.2-debian
+azul-zulu-openjdk:20.0.2-ubuntu
diff --git a/_bashbrew-list-build-order b/_bashbrew-list-build-order
index e69de29..39c3084 100644
--- a/_bashbrew-list-build-order
+++ b/_bashbrew-list-build-order
@@ -0,0 +1,17 @@
+azul-zulu-openjdk:8u382-8.72.0.17-alpine
+azul-zulu-openjdk:8u382-8.72.0.17-centos
+azul-zulu-openjdk:8u382-8.72.0.17-debian
+azul-zulu-openjdk:8u382-8.72.0.17-ubuntu
+azul-zulu-openjdk:11.0.20-11.66.15-alpine
+azul-zulu-openjdk:11.0.20-11.66.15-centos
+azul-zulu-openjdk:11.0.20-11.66.15-debian
+azul-zulu-openjdk:11.0.20-11.66.15-ubuntu
+azul-zulu-openjdk:17.0.8-17.44.15-alpine
+azul-zulu-openjdk:17.0.8-17.44.15-centos
+azul-zulu-openjdk:17.0.8-17.44.15-debian
+azul-zulu-openjdk:17.0.8-17.44.15-distroless
+azul-zulu-openjdk:17.0.8-17.44.15-ubuntu
+azul-zulu-openjdk:20.0.2-20.32.11-alpine
+azul-zulu-openjdk:20.0.2-20.32.11-centos
+azul-zulu-openjdk:20.0.2-20.32.11-debian
+azul-zulu-openjdk:20.0.2-20.32.11-ubuntu
diff --git a/azul-zulu-openjdk_11.0.20-11.66.15-alpine/Dockerfile b/azul-zulu-openjdk_11.0.20-11.66.15-alpine/Dockerfile
new file mode 100644
index 0000000..a13938a
--- /dev/null
+++ b/azul-zulu-openjdk_11.0.20-11.66.15-alpine/Dockerfile
@@ -0,0 +1,12 @@
+FROM alpine:3.17
+
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
+ENV TZ=Etc/UTC
+ARG ZULU_KEY_SHA256=6c6393d4755818a15cf055a5216cffa599f038cd508433faed2226925956509a
+RUN wget --quiet https://cdn.azul.com/public_keys/[email protected] -P /etc/apk/keys/ && \
+    echo "${ZULU_KEY_SHA256}  /etc/apk/keys/[email protected]" | sha256sum -c - && \
+    apk --repository https://repos.azul.com/zulu/alpine --no-cache add zulu11-jdk~=11.0.20 tzdata
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu11
diff --git a/azul-zulu-openjdk_11.0.20-11.66.15-centos/Dockerfile b/azul-zulu-openjdk_11.0.20-11.66.15-centos/Dockerfile
new file mode 100644
index 0000000..7025b06
--- /dev/null
+++ b/azul-zulu-openjdk_11.0.20-11.66.15-centos/Dockerfile
@@ -0,0 +1,17 @@
+FROM centos:7
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+
+ARG ZULU_REPO_SHA256=2724b8be277ec16196b8e9357ed5e506eb791f88f966965a4f4a8bd5c4acdcfe
+ARG ZULU_REPO_VER=1.0.0-1
+
+RUN rpm --import https://repos.azulsystems.com/RPM-GPG-KEY-azulsystems && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    echo "${ZULU_REPO_SHA256}  zulu-repo-${ZULU_REPO_VER}.noarch.rpm" | sha256sum --strict --check - && \
+    rpm -ivh zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    yum -q -y install yum-plugin-versionlock tzdata fontconfig && \
+    yum versionlock zulu11-*-11.0.20-* && \
+    yum -q -y install zulu11-jdk && \
+    yum clean all && \
+    rm -rf /var/cache/yum zulu-repo_${ZULU_REPO_VER}.noarch.rpm
+ENV JAVA_HOME=/usr/lib/jvm/zulu11
diff --git a/azul-zulu-openjdk_11.0.20-11.66.15-debian/Dockerfile b/azul-zulu-openjdk_11.0.20-11.66.15-debian/Dockerfile
new file mode 100644
index 0000000..6838f52
--- /dev/null
+++ b/azul-zulu-openjdk_11.0.20-11.66.15-debian/Dockerfile
@@ -0,0 +1,21 @@
+FROM debian:bullseye-slim
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu11-*\nPin: version 11.0.20-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu11-jdk=11.0.20-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu11
diff --git a/azul-zulu-openjdk_11.0.20-11.66.15-ubuntu/Dockerfile b/azul-zulu-openjdk_11.0.20-11.66.15-ubuntu/Dockerfile
new file mode 100644
index 0000000..1c19476
--- /dev/null
+++ b/azul-zulu-openjdk_11.0.20-11.66.15-ubuntu/Dockerfile
@@ -0,0 +1,21 @@
+FROM ubuntu:jammy
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu11-*\nPin: version 11.0.20-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu11-jdk=11.0.20-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu11
diff --git a/azul-zulu-openjdk_17.0.8-17.44.15-alpine/Dockerfile b/azul-zulu-openjdk_17.0.8-17.44.15-alpine/Dockerfile
new file mode 100644
index 0000000..3396ade
--- /dev/null
+++ b/azul-zulu-openjdk_17.0.8-17.44.15-alpine/Dockerfile
@@ -0,0 +1,12 @@
+FROM alpine:3.17
+
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
+ENV TZ=Etc/UTC
+ARG ZULU_KEY_SHA256=6c6393d4755818a15cf055a5216cffa599f038cd508433faed2226925956509a
+RUN wget --quiet https://cdn.azul.com/public_keys/[email protected] -P /etc/apk/keys/ && \
+    echo "${ZULU_KEY_SHA256}  /etc/apk/keys/[email protected]" | sha256sum -c - && \
+    apk --repository https://repos.azul.com/zulu/alpine --no-cache add zulu17-jdk~=17.0.8 tzdata
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu17
diff --git a/azul-zulu-openjdk_17.0.8-17.44.15-centos/Dockerfile b/azul-zulu-openjdk_17.0.8-17.44.15-centos/Dockerfile
new file mode 100644
index 0000000..1af8612
--- /dev/null
+++ b/azul-zulu-openjdk_17.0.8-17.44.15-centos/Dockerfile
@@ -0,0 +1,17 @@
+FROM centos:7
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+
+ARG ZULU_REPO_SHA256=2724b8be277ec16196b8e9357ed5e506eb791f88f966965a4f4a8bd5c4acdcfe
+ARG ZULU_REPO_VER=1.0.0-1
+
+RUN rpm --import https://repos.azulsystems.com/RPM-GPG-KEY-azulsystems && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    echo "${ZULU_REPO_SHA256}  zulu-repo-${ZULU_REPO_VER}.noarch.rpm" | sha256sum --strict --check - && \
+    rpm -ivh zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    yum -q -y install yum-plugin-versionlock tzdata fontconfig && \
+    yum versionlock zulu17-*-17.0.8-* && \
+    yum -q -y install zulu17-jdk && \
+    yum clean all && \
+    rm -rf /var/cache/yum zulu-repo_${ZULU_REPO_VER}.noarch.rpm
+ENV JAVA_HOME=/usr/lib/jvm/zulu17
diff --git a/azul-zulu-openjdk_17.0.8-17.44.15-debian/Dockerfile b/azul-zulu-openjdk_17.0.8-17.44.15-debian/Dockerfile
new file mode 100644
index 0000000..90356ab
--- /dev/null
+++ b/azul-zulu-openjdk_17.0.8-17.44.15-debian/Dockerfile
@@ -0,0 +1,21 @@
+FROM debian:bullseye-slim
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu17-*\nPin: version 17.0.8-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu17-jdk=17.0.8-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu17
diff --git a/azul-zulu-openjdk_17.0.8-17.44.15-distroless/Dockerfile b/azul-zulu-openjdk_17.0.8-17.44.15-distroless/Dockerfile
new file mode 100644
index 0000000..dca6deb
--- /dev/null
+++ b/azul-zulu-openjdk_17.0.8-17.44.15-distroless/Dockerfile
@@ -0,0 +1,50 @@
+FROM ubuntu:jammy AS builder
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu17-*\nPin: version 17.0.8-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu17-jdk=17.0.8-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu17
+
+RUN mkdir /emptydir
+
+FROM scratch
+
+COPY --from=builder \
+		/usr/lib/x86_64-linux-gnu/libresolv.so* \
+		/usr/lib/x86_64-linux-gnu/libc.so* \
+		/usr/lib/x86_64-linux-gnu/libdl.so* \
+		/usr/lib/x86_64-linux-gnu/libm.so* \
+		/usr/lib/x86_64-linux-gnu/librt.so* \
+		/usr/lib/x86_64-linux-gnu/libpthread.so* \
+		/usr/lib/x86_64-linux-gnu/libnet.so* \
+	        /usr/lib/x86_64-linux-gnu/libnss_file*.so* \
+		/usr/lib/x86_64-linux-gnu/libnss_dns*.so* \
+		/usr/lib/x86_64-linux-gnu/libz.so* \
+		/lib/x86_64-linux-gnu/
+
+COPY --from=builder \
+		/usr/lib64/ld-linux-x86-64.so.2 \
+		/lib64/
+
+COPY --from=builder /usr/lib/jvm/zulu17-ca-amd64 /usr/lib/jvm/zulu17
+
+COPY --from=builder /emptydir /tmp
+
+ENV PATH="${PATH}:/usr/lib/jvm/zulu17/bin/"
+
+ENTRYPOINT [ "/usr/lib/jvm/zulu17/bin/java" ]
diff --git a/azul-zulu-openjdk_17.0.8-17.44.15-ubuntu/Dockerfile b/azul-zulu-openjdk_17.0.8-17.44.15-ubuntu/Dockerfile
new file mode 100644
index 0000000..4681969
--- /dev/null
+++ b/azul-zulu-openjdk_17.0.8-17.44.15-ubuntu/Dockerfile
@@ -0,0 +1,21 @@
+FROM ubuntu:jammy
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu17-*\nPin: version 17.0.8-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu17-jdk=17.0.8-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu17
diff --git a/azul-zulu-openjdk_20.0.2-20.32.11-alpine/Dockerfile b/azul-zulu-openjdk_20.0.2-20.32.11-alpine/Dockerfile
new file mode 100644
index 0000000..3f14ff1
--- /dev/null
+++ b/azul-zulu-openjdk_20.0.2-20.32.11-alpine/Dockerfile
@@ -0,0 +1,12 @@
+FROM alpine:3.17
+
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
+ENV TZ=Etc/UTC
+ARG ZULU_KEY_SHA256=6c6393d4755818a15cf055a5216cffa599f038cd508433faed2226925956509a
+RUN wget --quiet https://cdn.azul.com/public_keys/[email protected] -P /etc/apk/keys/ && \
+    echo "${ZULU_KEY_SHA256}  /etc/apk/keys/[email protected]" | sha256sum -c - && \
+    apk --repository https://repos.azul.com/zulu/alpine --no-cache add zulu20-jdk~=20.0.2 tzdata
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu20
diff --git a/azul-zulu-openjdk_20.0.2-20.32.11-centos/Dockerfile b/azul-zulu-openjdk_20.0.2-20.32.11-centos/Dockerfile
new file mode 100644
index 0000000..a5a6b1d
--- /dev/null
+++ b/azul-zulu-openjdk_20.0.2-20.32.11-centos/Dockerfile
@@ -0,0 +1,17 @@
+FROM centos:7
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+
+ARG ZULU_REPO_SHA256=2724b8be277ec16196b8e9357ed5e506eb791f88f966965a4f4a8bd5c4acdcfe
+ARG ZULU_REPO_VER=1.0.0-1
+
+RUN rpm --import https://repos.azulsystems.com/RPM-GPG-KEY-azulsystems && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    echo "${ZULU_REPO_SHA256}  zulu-repo-${ZULU_REPO_VER}.noarch.rpm" | sha256sum --strict --check - && \
+    rpm -ivh zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    yum -q -y install yum-plugin-versionlock tzdata fontconfig && \
+    yum versionlock zulu20-*-20.0.2-* && \
+    yum -q -y install zulu20-jdk && \
+    yum clean all && \
+    rm -rf /var/cache/yum zulu-repo_${ZULU_REPO_VER}.noarch.rpm
+ENV JAVA_HOME=/usr/lib/jvm/zulu20
diff --git a/azul-zulu-openjdk_20.0.2-20.32.11-debian/Dockerfile b/azul-zulu-openjdk_20.0.2-20.32.11-debian/Dockerfile
new file mode 100644
index 0000000..7316902
--- /dev/null
+++ b/azul-zulu-openjdk_20.0.2-20.32.11-debian/Dockerfile
@@ -0,0 +1,21 @@
+FROM debian:bullseye-slim
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu20-*\nPin: version 20.0.2-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu20-jdk=20.0.2-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu20
diff --git a/azul-zulu-openjdk_20.0.2-20.32.11-ubuntu/Dockerfile b/azul-zulu-openjdk_20.0.2-20.32.11-ubuntu/Dockerfile
new file mode 100644
index 0000000..cdad97a
--- /dev/null
+++ b/azul-zulu-openjdk_20.0.2-20.32.11-ubuntu/Dockerfile
@@ -0,0 +1,21 @@
+FROM ubuntu:jammy
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu20-*\nPin: version 20.0.2-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu20-jdk=20.0.2-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu20
diff --git a/azul-zulu-openjdk_8u382-8.72.0.17-alpine/Dockerfile b/azul-zulu-openjdk_8u382-8.72.0.17-alpine/Dockerfile
new file mode 100644
index 0000000..b3ebf2b
--- /dev/null
+++ b/azul-zulu-openjdk_8u382-8.72.0.17-alpine/Dockerfile
@@ -0,0 +1,12 @@
+FROM alpine:3.17
+
+ENV LANG en_US.UTF-8
+ENV LANGUAGE en_US:en
+ENV LC_ALL en_US.UTF-8
+ENV TZ=Etc/UTC
+ARG ZULU_KEY_SHA256=6c6393d4755818a15cf055a5216cffa599f038cd508433faed2226925956509a
+RUN wget --quiet https://cdn.azul.com/public_keys/[email protected] -P /etc/apk/keys/ && \
+    echo "${ZULU_KEY_SHA256}  /etc/apk/keys/[email protected]" | sha256sum -c - && \
+    apk --repository https://repos.azul.com/zulu/alpine --no-cache add zulu8-jdk~=8.0.382 tzdata
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu8
diff --git a/azul-zulu-openjdk_8u382-8.72.0.17-centos/Dockerfile b/azul-zulu-openjdk_8u382-8.72.0.17-centos/Dockerfile
new file mode 100644
index 0000000..7c8f000
--- /dev/null
+++ b/azul-zulu-openjdk_8u382-8.72.0.17-centos/Dockerfile
@@ -0,0 +1,17 @@
+FROM centos:7
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+
+ARG ZULU_REPO_SHA256=2724b8be277ec16196b8e9357ed5e506eb791f88f966965a4f4a8bd5c4acdcfe
+ARG ZULU_REPO_VER=1.0.0-1
+
+RUN rpm --import https://repos.azulsystems.com/RPM-GPG-KEY-azulsystems && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    echo "${ZULU_REPO_SHA256}  zulu-repo-${ZULU_REPO_VER}.noarch.rpm" | sha256sum --strict --check - && \
+    rpm -ivh zulu-repo-${ZULU_REPO_VER}.noarch.rpm && \
+    yum -q -y install yum-plugin-versionlock tzdata fontconfig && \
+    yum versionlock zulu8-*-8.0.382-* && \
+    yum -q -y install zulu8-jdk && \
+    yum clean all && \
+    rm -rf /var/cache/yum zulu-repo_${ZULU_REPO_VER}.noarch.rpm
+ENV JAVA_HOME=/usr/lib/jvm/zulu8
diff --git a/azul-zulu-openjdk_8u382-8.72.0.17-debian/Dockerfile b/azul-zulu-openjdk_8u382-8.72.0.17-debian/Dockerfile
new file mode 100644
index 0000000..cb26cd3
--- /dev/null
+++ b/azul-zulu-openjdk_8u382-8.72.0.17-debian/Dockerfile
@@ -0,0 +1,21 @@
+FROM debian:bullseye-slim
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu8-*\nPin: version 8.0.382-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu8-jdk=8.0.382-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu8
diff --git a/azul-zulu-openjdk_8u382-8.72.0.17-ubuntu/Dockerfile b/azul-zulu-openjdk_8u382-8.72.0.17-ubuntu/Dockerfile
new file mode 100644
index 0000000..d883bd9
--- /dev/null
+++ b/azul-zulu-openjdk_8u382-8.72.0.17-ubuntu/Dockerfile
@@ -0,0 +1,21 @@
+FROM ubuntu:jammy
+
+ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
+ARG ZULU_REPO_VER=1.0.0-3
+ARG ZULU_REPO_SHA256=d08d9610c093b0954c6b278ecc628736e303634331641142fa5096396201f49c
+
+RUN apt-get -qq update && \
+    apt-get -qq -y --no-install-recommends install gnupg software-properties-common locales curl tzdata && \
+    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
+    locale-gen en_US.UTF-8 && \
+    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9 && \
+    curl -sLO https://cdn.azul.com/zulu/bin/zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    echo "${ZULU_REPO_SHA256} zulu-repo_${ZULU_REPO_VER}_all.deb" | sha256sum --strict --check - && \
+    dpkg -i zulu-repo_${ZULU_REPO_VER}_all.deb && \
+    apt-get -qq update && \
+    echo "Package: zulu8-*\nPin: version 8.0.382-*\nPin-Priority: 1001" > /etc/apt/preferences && \
+    apt-get -qq -y --no-install-recommends install zulu8-jdk=8.0.382-* && \
+    apt-get -qq -y purge --auto-remove gnupg software-properties-common curl && \
+    rm -rf /var/lib/apt/lists/* zulu-repo_${ZULU_REPO_VER}_all.deb
+
+ENV JAVA_HOME=/usr/lib/jvm/zulu8

@it-mak
Copy link
Author

it-mak commented Jul 26, 2023

Updated, for successful pass PR tests

@it-mak
Copy link
Author

it-mak commented Aug 10, 2023

Still waiting for your review @tianon @yosifkit

@geertjanw
Copy link

Hi @tianon and @yosifkit, just like @it-mak I'm from Azul, and we'd really love for our Azul Zulu images to be official Docker images. We noticed there's quite a queue of similar requests (https://github.com/docker-library/official-images/issues?q=label%3Anew-image+) and maybe it's because of the time of the year, or some other reason, but can we do something or help, we'd be happy to be involved to expedite this and other similar requests.

@geertjanw
Copy link

@tianon and @yosifkit, sorry to ask again, but just wondering what the current status is of things.

@gdams
Copy link
Contributor

gdams commented Oct 11, 2023

I would like to reiterate my point that I don't feel that this image is appropriately named. I'd suggest renaming this to azul-zulu to be more consistent with other OpenJDK vendors. It will cause confusion for users and could be considered misleading.

@geertjanw
Copy link

@tianon @yosifkit, see #16141.

FDelporte pushed a commit to FDelporte/docker-library_docs that referenced this pull request Feb 22, 2024
FDelporte pushed a commit to FDelporte/docker-library_docs that referenced this pull request Feb 22, 2024
@FDelporte
Copy link

@tianon @yosifkit, see #16141.

#16141 replaces this pull request #14593

@tianon tianon closed this Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants