-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (13 loc) · 810 Bytes
/
Copy pathDockerfile
File metadata and controls
15 lines (13 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM registry.fedoraproject.org/fedora-minimal:rawhide
COPY dnf.conf /etc/dnf/dnf.conf
RUN sed -i 's/.fc%{fedora}/.fcrawhide/g' /usr/lib/rpm/macros.d/macros.dist && \
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 && \
dnf in -y --nogpgcheck --repo=terra terra-gpg-keys && \
dnf up -y && \
dnf swap -y systemd-standalone-sysusers systemd && \
dnf in -y terra-mock-configs subatomic-cli anda{,-srpm-macros} terra-appstream-helper mock-scm \
gh wget less podman fuse-overlayfs dnf5-plugins util-linux-script mold sudo terra-sccache jq @buildsys-build && \
dnf clean packages dbcache