From c66871e6b597da41149a40d5c95bfdccd2753685 Mon Sep 17 00:00:00 2001 From: melloware Date: Mon, 3 Mar 2025 07:50:21 -0500 Subject: [PATCH] Fix #186: Upgrade to UBI9 base image --- README.md | 6 +++--- docs/modules/ROOT/pages/index.adoc | 4 ++-- integration-tests/src/main/docker/Dockerfile.native | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 45bca65..9c9e2d4 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,10 @@ When building native images in Docker using the standard Quarkus Docker configur simply add these lines to your `DockerFile.native` file: ```shell -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10 +FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5 ######################### Set up environment for POI ############################# -RUN microdnf update && microdnf install freetype fontconfig && microdnf clean all +RUN microdnf update -y && microdnf install -y freetype fontconfig && microdnf clean all ######################### Set up environment for POI ############################# WORKDIR /work/ @@ -112,4 +112,4 @@ Thanks go to these wonderful people ([emoji key](https://allcontributors.org/doc -This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! \ No newline at end of file diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index aeef058..48bab1c 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -86,10 +86,10 @@ When building native images in Docker using the standard Quarkus Docker configur [source, dockerfile] ---- -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9 +FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5 ######################### Set up environment for POI ########################## -RUN microdnf update && microdnf install freetype fontconfig && microdnf clean all +RUN microdnf update -y && microdnf install -y freetype fontconfig && microdnf clean all ######################### Set up environment for POI ########################## WORKDIR /work/ diff --git a/integration-tests/src/main/docker/Dockerfile.native b/integration-tests/src/main/docker/Dockerfile.native index 22906ce..b6e290e 100644 --- a/integration-tests/src/main/docker/Dockerfile.native +++ b/integration-tests/src/main/docker/Dockerfile.native @@ -14,10 +14,10 @@ # docker run -i --rm -p 8080:8080 jasperreports/integration-test # ### -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10 +FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5 ######################### Set up environment for POI ########################## -RUN microdnf update && microdnf install freetype fontconfig && microdnf clean all +RUN microdnf update -y && microdnf install -y freetype fontconfig && microdnf clean all ######################### Set up environment for POI ########################## WORKDIR /work/