Updated OpenJDK to 17 version

This commit is contained in:
Alexey Pustovalov 2024-02-05 17:15:37 +09:00
parent 2ad293ae03
commit d13c703a34
2 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
RUN set -eux && \
ARCH_SUFFIX="$(arch)"; \
case "$ARCH_SUFFIX" in \
i686) \
openjdk_packages='openjdk8 openjdk8-jre-base'; \
;; \
ppc64le) \
openjdk_packages='openjdk11 openjdk11-jre-headless'; \
;; \

View File

@ -33,6 +33,9 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/lib", "/usr/sbi
RUN set -eux && \
ARCH_SUFFIX="$(arch)"; \
case "$ARCH_SUFFIX" in \
i686) \
openjdk_packages='openjdk8-jre-base'; \
;; \
ppc64le) \
openjdk_packages='openjdk11-jre-headless'; \
;; \