diff options
author | Laszlo Gombos | 2024-04-23 20:36:26 -0400 |
---|---|---|
committer | Laszlo Gombos | 2024-04-23 20:36:26 -0400 |
commit | 8c9fed626447d419cb27b0ebba6c59c261f703cf (patch) | |
tree | 0c915f525b332d758aae69408a806a2710fbe8d8 | |
parent | bb4036ebf0c388c61b226a3d49fb6a0c1526d6ff (diff) | |
download | aur-8c9fed626447d419cb27b0ebba6c59c261f703cf.tar.gz |
No need to maintain Dockerfile here any more for Arch
-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' |