diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile index bb766a12..c721b755 100644 --- a/.github/workflows/Dockerfile +++ b/.github/workflows/Dockerfile @@ -1,5 +1,5 @@ # -# Copyright (c) 2021-2022 Red Hat, Inc +# Copyright (c) 2021-2025 Red Hat, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,20 +14,16 @@ # limitations under the License. # -FROM registry.fedoraproject.org/fedora:rawhide +FROM registry.access.redhat.com/ubi10-minimal ENV LC_ALL=C.utf8 \ JAVA_HOME=/usr/lib/jvm/java-21 -RUN dnf -y update \ - && dnf -y install git-core \ - unzip \ - java-21-devel \ - byaccj \ - gcc \ - rpm-devel \ - jurand \ - && dnf -y clean all \ +RUN microdnf -y update \ + && microdnf -y install git-core unzip java-21-devel \ + && microdnf -y clean all \ + && rpm -ivh https://kojipkgs.fedoraproject.org/packages/byaccj/1.15/35.fc41/x86_64/byaccj-1.15-35.fc41.x86_64.rpm \ + && rpm -ivh https://kojipkgs.fedoraproject.org/packages/jurand/1.3.3/1.fc41/x86_64/jurand-1.3.3-1.fc41.x86_64.rpm \ && git config --global user.email root@localhost \ && git config --global user.name root