diff --git a/Dockerfiles/build-base/alpine/Dockerfile b/Dockerfiles/build-base/alpine/Dockerfile index 443cb3374..21de5f341 100644 --- a/Dockerfiles/build-base/alpine/Dockerfile +++ b/Dockerfiles/build-base/alpine/Dockerfile @@ -38,13 +38,13 @@ RUN set -eux && \ patch \ pcre2-dev \ postgresql-dev \ - openjdk8 \ + openjdk17 \ gettext \ git \ g++ \ go \ make \ - openjdk8-jre-base \ + openjdk17-jre-headless \ unixodbc-dev" && \ apk add \ --no-cache \ diff --git a/Dockerfiles/build-base/centos/Dockerfile b/Dockerfiles/build-base/centos/Dockerfile index 946704508..f90ecc439 100644 --- a/Dockerfiles/build-base/centos/Dockerfile +++ b/Dockerfiles/build-base/centos/Dockerfile @@ -39,7 +39,7 @@ RUN set -eux && \ openldap-devel \ sqlite-devel \ postgresql-devel \ - java-1.8.0-openjdk-devel \ + java-17-openjdk-devel \ git \ gettext \ go-toolset \ diff --git a/Dockerfiles/build-base/ol/Dockerfile b/Dockerfiles/build-base/ol/Dockerfile index 33e6a71e8..d635f9260 100644 --- a/Dockerfiles/build-base/ol/Dockerfile +++ b/Dockerfiles/build-base/ol/Dockerfile @@ -38,7 +38,7 @@ RUN set -eux && \ openldap-devel \ sqlite-devel \ postgresql-server-devel \ - java-1.8.0-openjdk-devel \ + java-17-openjdk-devel \ git \ gettext \ unixODBC-devel" && \ diff --git a/Dockerfiles/build-base/rhel/Dockerfile b/Dockerfiles/build-base/rhel/Dockerfile index 791ffa29e..6ae0b41c1 100644 --- a/Dockerfiles/build-base/rhel/Dockerfile +++ b/Dockerfiles/build-base/rhel/Dockerfile @@ -50,7 +50,7 @@ RUN set -eux && \ openldap-devel \ sqlite-devel \ postgresql-devel \ - java-1.8.0-openjdk-devel \ + java-17-openjdk-devel \ git \ gettext \ unixODBC-devel" && \ diff --git a/Dockerfiles/build-base/ubuntu/Dockerfile b/Dockerfiles/build-base/ubuntu/Dockerfile index db564cc49..5c2aea157 100644 --- a/Dockerfiles/build-base/ubuntu/Dockerfile +++ b/Dockerfiles/build-base/ubuntu/Dockerfile @@ -38,7 +38,7 @@ RUN set -eux && \ libssh-dev \ libxml2-dev \ make \ - openjdk-8-jdk-headless \ + openjdk-17-jdk-headless \ patch \ pkg-config \ gettext \ diff --git a/Dockerfiles/java-gateway/alpine/Dockerfile b/Dockerfiles/java-gateway/alpine/Dockerfile index 3c15c7a42..6c611f4f6 100644 --- a/Dockerfiles/java-gateway/alpine/Dockerfile +++ b/Dockerfiles/java-gateway/alpine/Dockerfile @@ -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 \ diff --git a/Dockerfiles/java-gateway/centos/Dockerfile b/Dockerfiles/java-gateway/centos/Dockerfile index dba8b93f4..bab1d2f88 100644 --- a/Dockerfiles/java-gateway/centos/Dockerfile +++ b/Dockerfiles/java-gateway/centos/Dockerfile @@ -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 "*" \ diff --git a/Dockerfiles/java-gateway/ol/Dockerfile b/Dockerfiles/java-gateway/ol/Dockerfile index 4a94eac92..36bd5cdb4 100644 --- a/Dockerfiles/java-gateway/ol/Dockerfile +++ b/Dockerfiles/java-gateway/ol/Dockerfile @@ -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="*" \ diff --git a/Dockerfiles/java-gateway/rhel/Dockerfile b/Dockerfiles/java-gateway/rhel/Dockerfile index 5bc2ea5ba..35def74e3 100644 --- a/Dockerfiles/java-gateway/rhel/Dockerfile +++ b/Dockerfiles/java-gateway/rhel/Dockerfile @@ -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" \ diff --git a/Dockerfiles/java-gateway/ubuntu/Dockerfile b/Dockerfiles/java-gateway/ubuntu/Dockerfile index 072b492cb..63f168eb0 100644 --- a/Dockerfiles/java-gateway/ubuntu/Dockerfile +++ b/Dockerfiles/java-gateway/ubuntu/Dockerfile @@ -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 \