MAINTAINER https://github.com/dracutdevs/dracut
-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
RUN pacman --noconfirm -Syu \
linux dash strace dhclient asciidoc cpio pigz squashfs-tools \
RUN su build -c 'cd && git clone https://aur.archlinux.org/tgt.git && cd tgt && makepkg -s --noconfirm'
RUN pacman -U --noconfirm ~build/tgt/*.pkg.tar.*
RUN rm -fr ~build
-
-# Set default command
-CMD ["/usr/bin/bash"]
MAINTAINER https://github.com/dracutdevs/dracut
-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
RUN apt-get update -y -qq && apt-get upgrade -y -qq && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
asciidoc \
&& DEBIAN_FRONTEND=noninteractive dpkg --configure dmraid \
&& apt-get install -yf \
&& apt-get clean
-
-# Set default command
-CMD ["/usr/bin/bash"]
MAINTAINER https://github.com/dracutdevs/dracut
-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
RUN dnf -y install --setopt=install_weak_deps=False \
asciidoc \
which \
xz \
&& dnf -y remove dracut --noautoremove && dnf -y update && dnf clean all
-
-# Set default command
-CMD ["/usr/bin/bash"]
MAINTAINER https://github.com/dracutdevs/dracut
-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
-
# Only install `dmsetup`: attempting to install all of lvm2 fails due to missing kernel headers.
RUN echo 'sys-fs/lvm2 device-mapper-only -thin' > /etc/portage/package.use/lvm2
sys-fs/ntfs3g \
sys-fs/squashfs-tools \
&& rm -rf /var/cache/* /usr/share/doc/* /usr/share/man/*
-
-# Set default command
-CMD ["/usr/bin/bash"]
MAINTAINER https://github.com/dracutdevs/dracut
-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
RUN dnf -y install --setopt=install_weak_deps=False \
dash asciidoc mdadm lvm2 dmraid cryptsetup nfs-utils nbd dhcp-server \
iscsiuio open-iscsi which ShellCheck shfmt procps pigz parted squashfs ntfsprogs \
multipath-tools \
&& dnf -y remove dracut && dnf -y update && dnf clean all
-
-# Set default command
-CMD ["/usr/bin/bash"]