diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 77599af62307..000000000000 --- a/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM docker.io/archlinux - -# development container to build and run dracut-git tests - -# install paru -RUN pacman --noconfirm -Syu base-devel git pacman-contrib -RUN useradd -m build && echo "build ALL=(ALL) NOPASSWD: /usr/bin/pacman" >> "/etc/sudoers.d/allow_pacman" && echo "build ALL=(ALL) NOPASSWD: /usr/bin/paru" >> "/etc/sudoers.d/allow_pacman" -RUN su build -c 'cd && git clone https://aur.archlinux.org/paru-bin.git && cd paru-bin && makepkg -s --noconfirm' && pacman -U --noconfirm ~build/paru-bin/*.pkg.tar.* - -# install dracut-git without running tests -RUN su build -c 'paru --nocheck --needed --noconfirm -Syu dracut-git' - -# install all optional dependencies -RUN L=$(paru -Si dracut-git | sed -n '/^Opt/,/^Conf/p' | sed '$d' | sed 's/^Opt.*://g' | sed 's/^\s*//g' | tr '\n' ' ') && su build -c "paru --nocheck --needed --noconfirm --assume-installed initramfs -Syu $L" - -# AUR test dependencies -RUN su build -c 'paru --nocheck --needed --noconfirm -Syu tgt' - -# check SRCINFO -RUN su build -c 'cd ~build/.cache/paru/clone/dracut-git && makepkg --printsrcinfo > .SRCINFO && updpkgsums && git diff' - -# rebuild to run some tests -RUN su build -c 'cd ~build/.cache/paru/clone/dracut-git && V=1 TESTS="01" SKIP=" " makepkg --force --syncdeps --noconfirm' |