Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Gradle v7.5+ not working with UBI based Docker images #463

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading