diff --git a/11/jdk/ubi/ubi9-minimal/Dockerfile b/11/jdk/ubi/ubi9-minimal/Dockerfile index 5b7783862..18f522c9b 100644 --- a/11/jdk/ubi/ubi9-minimal/Dockerfile +++ b/11/jdk/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/11/jre/ubi/ubi9-minimal/Dockerfile b/11/jre/ubi/ubi9-minimal/Dockerfile index c4e035009..ba3e3fba8 100644 --- a/11/jre/ubi/ubi9-minimal/Dockerfile +++ b/11/jre/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/17/jdk/ubi/ubi9-minimal/Dockerfile b/17/jdk/ubi/ubi9-minimal/Dockerfile index d89da570b..c6ae77e88 100644 --- a/17/jdk/ubi/ubi9-minimal/Dockerfile +++ b/17/jdk/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/17/jre/ubi/ubi9-minimal/Dockerfile b/17/jre/ubi/ubi9-minimal/Dockerfile index a8659f4b0..3b89c937a 100644 --- a/17/jre/ubi/ubi9-minimal/Dockerfile +++ b/17/jre/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full index f36fcecf3..85b0432d8 100644 --- a/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full @@ -25,7 +25,7 @@ ENV PATH $JAVA_HOME/bin:$PATH # Default to UTF-8 file.encoding ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ +RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar findutils \ && microdnf clean all ENV JAVA_VERSION jdk-19.0.2+7 diff --git a/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full index 73e29e600..706e9d0ea 100644 --- a/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/19/jre/ubi/ubi9-minimal/Dockerfile.releases.full @@ -25,7 +25,7 @@ ENV PATH $JAVA_HOME/bin:$PATH # Default to UTF-8 file.encoding ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ +RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar findutils \ && microdnf clean all ENV JAVA_VERSION jdk-19.0.2+7 diff --git a/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full b/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full index 43adf3672..43a305fb8 100644 --- a/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full @@ -25,7 +25,7 @@ ENV PATH $JAVA_HOME/bin:$PATH # Default to UTF-8 file.encoding ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ +RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar findutils \ && microdnf clean all ENV JAVA_VERSION jdk-20.0.2+9 diff --git a/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full b/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full index 5b5525a49..cc2d8e4ea 100644 --- a/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full +++ b/20/jre/ubi/ubi9-minimal/Dockerfile.releases.full @@ -25,7 +25,7 @@ ENV PATH $JAVA_HOME/bin:$PATH # Default to UTF-8 file.encoding ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' -RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar \ +RUN microdnf install -y binutils tzdata openssl wget ca-certificates fontconfig glibc-langpack-en gzip tar findutils \ && microdnf clean all ENV JAVA_VERSION jdk-20.0.2+9 diff --git a/21/jdk/ubi/ubi9-minimal/Dockerfile b/21/jdk/ubi/ubi9-minimal/Dockerfile index e4be4c5b4..0fcc0853f 100644 --- a/21/jdk/ubi/ubi9-minimal/Dockerfile +++ b/21/jdk/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/21/jre/ubi/ubi9-minimal/Dockerfile b/21/jre/ubi/ubi9-minimal/Dockerfile index 79dbb3c7a..5b8414d5b 100644 --- a/21/jre/ubi/ubi9-minimal/Dockerfile +++ b/21/jre/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/8/jdk/ubi/ubi9-minimal/Dockerfile b/8/jdk/ubi/ubi9-minimal/Dockerfile index db0895796..5cf6315bc 100644 --- a/8/jdk/ubi/ubi9-minimal/Dockerfile +++ b/8/jdk/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/8/jre/ubi/ubi9-minimal/Dockerfile b/8/jre/ubi/ubi9-minimal/Dockerfile index af30e18e6..03418bd63 100644 --- a/8/jre/ubi/ubi9-minimal/Dockerfile +++ b/8/jre/ubi/ubi9-minimal/Dockerfile @@ -39,6 +39,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all diff --git a/docker_templates/ubi9-minimal.Dockerfile.j2 b/docker_templates/ubi9-minimal.Dockerfile.j2 index 4a5b7ffdc..b2e7bb0cc 100644 --- a/docker_templates/ubi9-minimal.Dockerfile.j2 +++ b/docker_templates/ubi9-minimal.Dockerfile.j2 @@ -18,6 +18,9 @@ RUN set -eux; \ ca-certificates \ fontconfig \ glibc-langpack-en \ + # Required for Gradle v7.5+ which requires the command xargs (included in findutils) \ + # https://github.com/adoptium/containers/issues/462 + findutils \ ; \ microdnf clean all