|
1 | | -FROM almalinux:10-kitten-minimal |
| 1 | +FROM registry.fedoraproject.org/eln:latest |
2 | 2 |
|
3 | | -RUN curl https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm -o epel-release-latest-10.noarch.rpm &\ |
4 | | - curl https://cli.github.com/packages/rpm/gh-cli.repo -o /etc/yum.repos.d/gh-cli.repo &\ |
5 | | - echo 'max_parallel_downloads=20' >> /etc/dnf/dnf.conf &\ |
6 | | - curl 'https://repos.fyralabs.com/terrael10-kitten/?sort=2' -o page.html &\ |
7 | | - wait &&\ |
8 | | - curl https://repos.fyralabs.com/terrael10-kitten/$(cat page.html | sed -nE 's@.*"(terra-release-[^"]+)".*@\1@p') -o terra-release.rpm &&\ |
9 | | - curl https://repos.fyralabs.com/terrael10-kitten/$(cat page.html | sed -nE 's@.*"(terra-gpg-keys-[^"]+)".*@\1@p') -o terra-gpg-keys.rpm &&\ |
10 | | - rm page.html && \ |
11 | | - rpm -i ./*.rpm && \ |
12 | | - #sed -Ei "s@^#baseurl=.+@baseurl=https://dl.fedoraproject.org/pub/epel/\$releasever_major\${releasever_minor:+.\$releasever_minor}/Everything/\$basearch/@" /etc/yum.repos.d/epel.repo && \ |
13 | | - #sed -Ei '/^metalink/ s/^/#/' /etc/yum.repos.d/epel.repo && \ |
14 | | - sed -Ei '/\[crb\]/,/^$/ s@^enabled=0$@enabled=1@' /etc/yum.repos.d/almalinux-crb.repo && \ |
15 | | - microdnf install -y \ |
16 | | - --setopt=install_weak_deps=0 \ |
17 | | - terra-mock-configs anda-srpm-macros terra-appstream-helper redhat-rpm-config epel-rpm-macros almalinux-kitten-release-latest \ |
18 | | - subatomic-cli anda rpm-build git-lfs podman fuse-overlayfs mold dnf-plugins-core \ |
19 | | - wget less gh util-linux bash bzip2 cpio diffutils findutils gawk glibc-minimal-langpack grep info patch sed tar gzip unzip which xz jq &&\ |
20 | | - microdnf clean all |
| 3 | +COPY dnf.conf /etc/dnf/dnf.conf |
| 4 | + |
| 5 | +RUN curl https://cli.github.com/packages/rpm/gh-cli.repo -o /etc/yum.repos.d/gh-cli.repo |
| 6 | +RUN dnf install -y --nogpgcheck --repo=terra terra-gpg-keys |
| 7 | +RUN dnf up -y |
| 8 | +RUN dnf install -y \ |
| 9 | + terra-mock-configs terra-mock-gpg-keys anda-srpm-macros terra-appstream-helper redhat-rpm-config epel-rpm-macros almalinux-release adoptium-temurin-java-repository \ |
| 10 | + subatomic-cli anda{,-srpm-macros} rpm-build podman fuse-overlayfs mold dnf-plugins-core \ |
| 11 | + wget less gh util-linux bash bzip2 cpio diffutils findutils gawk glibc-minimal-langpack grep info patch sed tar gzip unzip which xz jq |
| 12 | +RUN dnf clean all |
0 commit comments