Skip to content
Merged
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
18 changes: 7 additions & 11 deletions .github/workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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

Expand Down