-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
19 lines (17 loc) · 1.03 KB
/
Dockerfile
File metadata and controls
19 lines (17 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM registry.fedoraproject.org/fedora-minimal:rawhide
COPY dnf.conf /etc/dnf/dnf.conf
RUN \
sed -i '/\[fedora\]\|\[updates\]/a enabled=0' /etc/dnf/dnf.conf &&\
sed -iE '/^metadata_expire/d' /etc/yum.repos.d/fedora-rawhide.repo &&\
cat /etc/yum.repos.d/fedora-rawhide.repo >> /etc/dnf/dnf.conf &&\
cat /etc/dnf/dnf.conf &&\
dnf5 in -y --repo=fedora python3-dnf &&\
dnf5 in -y --nogpgcheck --repo=terra,ultramarine terra-gpg-keys ultramarine-gpg-keys &&\
dnf4 up -y &&\
dnf4 swap -y systemd-standalone-sysusers systemd &&\
dnf4 swap -y fedora-release-common ultramarine-release-identity-container --allowerasing &&\
dnf4 in -y python3-dnf &&\
dnf4 in -y ultramarine-mock-configs ultramarine-mock-gpg-keys terra-mock-gpg-keys subatomic-cli anda{,-srpm-macros} terra-appstream-helper mock-scm \
gh wget less podman fuse-overlayfs dnf5-plugins dnf-plugins-core util-linux-script mold sudo terra-sccache jq @buildsys-build --exclude=fedora-release* &&\
dnf5 clean packages dbcache &&\
dnf4 clean all