Updated OpenJDK to 17 version

This commit is contained in:
Alexey Pustovalov
2023-09-20 18:13:10 +09:00
parent e60973a136
commit cb73c5f897
10 changed files with 11 additions and 11 deletions

View File

@ -32,7 +32,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/lib", "/usr/sbi
RUN set -eux && \
INSTALL_PKGS="bash \
openjdk8-jre-base" && \
openjdk17-jre-headless" && \
apk add \
--no-cache \
--clean-protected \

View File

@ -32,7 +32,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/lib", "/usr/sbi
RUN set -eux && \
REPOLIST="baseos,appstream" && \
INSTALL_PKGS="bash \
java-1.8.0-openjdk-headless \
java-17-openjdk-headless \
findutils" && \
dnf -y install \
--disablerepo "*" \

View File

@ -31,7 +31,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/lib", "/usr/sbi
RUN set -eux && \
INSTALL_PKGS="bash \
java-1.8.0-openjdk-headless \
java-17-openjdk-headless \
findutils" && \
microdnf -y install \
--disablerepo="*" \

View File

@ -52,7 +52,7 @@ RUN set -eux && \
INSTALL_PKGS="bash \
findutils \
shadow-utils \
java-1.8.0-openjdk-headless" && \
java-17-openjdk-headless" && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-9-baseos-rpms" \

View File

@ -32,7 +32,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/lib", "/usr/sbi
RUN set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="bash \
openjdk-8-jre-headless" && \
openjdk-17-jre-headless" && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \