Provide a Containerfile to build the container to test iproute, and an ad-hoc test plan for image-mode. Use testing-farm to test it. Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
31 lines
897 B
Docker
31 lines
897 B
Docker
# Choose nightly base image from https://images.paas.redhat.com/repository/bootc/rhel-bootc?tab=tags
|
|
FROM images.paas.redhat.com/bootc/rhel-bootc:latest-10.0
|
|
|
|
# Add nightly compose repo into container image to install iproute
|
|
RUN cat <<EOF >> /etc/yum.repos.d/rhel-10.repo
|
|
[rhel10-baseos]
|
|
name=rhel10-baseos
|
|
baseurl=http://download-node-02.eng.bos.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10.0/compose/BaseOS/\$basearch/os/
|
|
enabled=1
|
|
gpgcheck=0
|
|
repo_gpgcheck=0
|
|
|
|
[rhel10-appstream]
|
|
name=rhel10-appstream
|
|
baseurl=http://download-node-02.eng.bos.redhat.com/rhel-10/nightly/RHEL-10/latest-RHEL-10.0/compose/AppStream/\$basearch/os/
|
|
enabled=1
|
|
gpgcheck=0
|
|
repo_gpgcheck=0
|
|
|
|
[epel10]
|
|
name=epel10
|
|
baseurl=https://dl.fedoraproject.org/pub/epel/10/Everything/\$basearch/
|
|
enabled=1
|
|
gpgcheck=0
|
|
repo_gpgcheck=0
|
|
EOF
|
|
|
|
# Install packages from nightly compose
|
|
RUN dnf -y install iproute && \
|
|
dnf clean all
|