From 94b4fcfa13dedf017a90e6738232999df55e753f Mon Sep 17 00:00:00 2001 From: Sopka Date: Thu, 6 Jun 2024 10:47:08 +0200 Subject: [PATCH] Install DNF package findutils in builder images The Gradle wrapper scripts necessitate the installation of the 'xargs' command. This command is supplied by the supplementary 'findutils' package. --- .../src/main/java/io/quarkus/images/QuarkusGraalVMBuilder.java | 2 +- .../src/main/java/io/quarkus/images/QuarkusMandrelBuilder.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quarkus-graalvm-builder-image/src/main/java/io/quarkus/images/QuarkusGraalVMBuilder.java b/quarkus-graalvm-builder-image/src/main/java/io/quarkus/images/QuarkusGraalVMBuilder.java index 15cfef14..9f4f3b90 100644 --- a/quarkus-graalvm-builder-image/src/main/java/io/quarkus/images/QuarkusGraalVMBuilder.java +++ b/quarkus-graalvm-builder-image/src/main/java/io/quarkus/images/QuarkusGraalVMBuilder.java @@ -13,7 +13,7 @@ public static Dockerfile getGraalvmDockerFile(String base, String version, Strin Dockerfile df = Dockerfile.from(base); df .user("root") - .install("tar", "gzip", "gcc", "glibc-devel", "zlib-devel", "shadow-utils", "unzip", "gcc-c++") + .install("tar", "gzip", "gcc", "glibc-devel", "zlib-devel", "shadow-utils", "unzip", "gcc-c++", "findutils") .install("glibc-langpack-en") .module(new UsLangModule()) .module(new QuarkusUserModule()) diff --git a/quarkus-mandrel-builder-image/src/main/java/io/quarkus/images/QuarkusMandrelBuilder.java b/quarkus-mandrel-builder-image/src/main/java/io/quarkus/images/QuarkusMandrelBuilder.java index 67c667a2..63e823b2 100644 --- a/quarkus-mandrel-builder-image/src/main/java/io/quarkus/images/QuarkusMandrelBuilder.java +++ b/quarkus-mandrel-builder-image/src/main/java/io/quarkus/images/QuarkusMandrelBuilder.java @@ -14,7 +14,7 @@ public static Dockerfile getMandrelDockerFile(String base, String version, Strin df .installer("microdnf") .user("root") - .install("tar", "gzip", "gcc", "glibc-devel", "zlib-devel", "shadow-utils", "unzip", "gcc-c++") + .install("tar", "gzip", "gcc", "glibc-devel", "zlib-devel", "shadow-utils", "unzip", "gcc-c++", "findutils") .install("glibc-langpack-en") .module(new UsLangModule()) .module(new QuarkusUserModule())