-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also add C10s containerfile.
- Loading branch information
Showing
10 changed files
with
68 additions
and
506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
FROM quay.io/centos/centos:stream10 | ||
|
||
MAINTAINER https://github.com/redhat-plumbers/dracut-rhel10 | ||
|
||
ENV container docker | ||
LABEL RUN="docker run -it --name NAME --privileged --ipc=host --net=host --pid=host -e NAME=NAME -e IMAGE=IMAGE IMAGE" | ||
|
||
RUN echo 'export DRACUT_NO_XATTR=1 KVERSION=$(cd /lib/modules; ls -1 | tail -1)' > /etc/profile.d/dracut-test.sh | ||
|
||
# Install needed packages for the dracut CI container | ||
# FIXME: properly re-add dash once C10S EPEL is available | ||
# http://mirrors.kernel.org/fedora/releases/34/Everything/x86_64/os/Packages/d/dash-0.5.10.2-8.fc34.x86_64.rpm \ | ||
RUN dnf -y install --enablerepo crb --setopt=install_weak_deps=False \ | ||
qemu-kvm \ | ||
NetworkManager \ | ||
asciidoc \ | ||
bash-completion \ | ||
bzip2 \ | ||
cryptsetup \ | ||
dbus-daemon \ | ||
dhcp-client \ | ||
dhcp-server \ | ||
e2fsprogs \ | ||
gcc \ | ||
git \ | ||
iproute \ | ||
iputils \ | ||
iscsi-initiator-utils \ | ||
kbd \ | ||
kernel \ | ||
kmod-devel \ | ||
lvm2 \ | ||
make \ | ||
mdadm \ | ||
nfs-utils \ | ||
parted \ | ||
pigz \ | ||
rpm-build \ | ||
squashfs-tools \ | ||
strace \ | ||
sudo \ | ||
tar \ | ||
tcpdump \ | ||
wget \ | ||
which \ | ||
xz \ | ||
&& dnf -y update && dnf clean all | ||
|
||
# C10S ships only qemu-kvm, but it disables the KVM accel when it's not | ||
# available | ||
RUN ln -sv /usr/libexec/qemu-kvm /usr/bin/qemu-kvm && \ | ||
ln -sv /usr/libexec/qemu-kvm /usr/bin/qemu-system-$(uname -m) | ||
|
||
# Set default command | ||
CMD ["/usr/bin/bash"] | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.