Skip to content

Commit

Permalink
Fix Gradle v7.5+ not working with UBI based Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Sapelza committed Nov 2, 2023
1 parent 376294c commit 695434e
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 4 deletions.
3 changes: 3 additions & 0 deletions 11/jdk/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 11/jre/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 17/jdk/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 17/jre/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion 19/jdk/ubi/ubi9-minimal/Dockerfile.releases.full
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 19/jre/ubi/ubi9-minimal/Dockerfile.releases.full
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 20/jdk/ubi/ubi9-minimal/Dockerfile.releases.full
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 20/jre/ubi/ubi9-minimal/Dockerfile.releases.full
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions 21/jdk/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 21/jre/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 8/jdk/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 8/jre/ubi/ubi9-minimal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions docker_templates/ubi9-minimal.Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 695434e

Please sign in to comment.