1 FROM docker.io/debian:latest
3 MAINTAINER https://github.com/dracutdevs/dracut
6 LABEL RUN="docker run -it --name NAME --privileged --ipc=host --net=host --pid=host -e NAME=NAME -e IMAGE=IMAGE IMAGE"
8 RUN echo 'export DRACUT_NO_XATTR=1 KVERSION=$(cd /lib/modules; ls -1 | tail -1)' > /etc/profile.d/dracut-test.sh
10 # Install needed packages for the dracut CI container
11 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 \
64 # workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962300
65 RUN DEBIAN_FRONTEND=noninteractive apt-get download dmraid \
66 && DEBIAN_FRONTEND=noninteractive dpkg --unpack dmraid*.deb \
67 && rm -rf /var/lib/dpkg/info/dmraid.postinst -f \
68 && DEBIAN_FRONTEND=noninteractive dpkg --configure dmraid \
69 && apt-get install -yf \