Skip to content

Commit f5a15b2

Browse files
committed
Run CI on ubi10-minimal
1 parent 19c8eaa commit f5a15b2

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/Dockerfile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2021-2022 Red Hat, Inc
2+
# Copyright (c) 2021-2025 Red Hat, Inc
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -14,20 +14,16 @@
1414
# limitations under the License.
1515
#
1616

17-
FROM registry.fedoraproject.org/fedora:rawhide
17+
FROM registry.access.redhat.com/ubi10-minimal
1818

1919
ENV LC_ALL=C.utf8 \
2020
JAVA_HOME=/usr/lib/jvm/java-21
2121

22-
RUN dnf -y update \
23-
&& dnf -y install git-core \
24-
unzip \
25-
java-21-devel \
26-
byaccj \
27-
gcc \
28-
rpm-devel \
29-
jurand \
30-
&& dnf -y clean all \
22+
RUN microdnf -y update \
23+
&& microdnf -y install git-core unzip java-21-devel \
24+
&& microdnf -y clean all \
25+
&& rpm -ivh https://kojipkgs.fedoraproject.org/packages/byaccj/1.15/35.fc41/x86_64/byaccj-1.15-35.fc41.x86_64.rpm \
26+
&& rpm -ivh https://kojipkgs.fedoraproject.org/packages/jurand/1.3.3/1.fc41/x86_64/jurand-1.3.3-1.fc41.x86_64.rpm \
3127
&& git config --global user.email root@localhost \
3228
&& git config --global user.name root
3329

0 commit comments

Comments
 (0)