-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContainerfile
More file actions
19 lines (14 loc) · 641 Bytes
/
Containerfile
File metadata and controls
19 lines (14 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM registry.fedoraproject.org/fedora:42@sha256:68779a51b655f6bfeef08429fe31c33508f6a0d6beaf5660de094d49948a8e37
# https://github.com/containers/buildah/issues/3666#issuecomment-1351992335
VOLUME /var/lib/containers
ADD rpmdiff.patch /rpmdiff.patch
RUN \
dnf -y install mock koji dist-git-client patch python3-specfile && \
patch /usr/lib/python3.13/site-packages/koji/rpmdiff.py < /rpmdiff.patch && \
dnf remove -y patch && \
dnf -y clean all && \
useradd mockbuilder && \
usermod -a -G mock mockbuilder
ADD site-defaults.cfg /etc/mock/site-defaults.cfg
ADD gather-rpms.py /usr/bin
ADD pulp-upload.py /usr/bin