Open phicha20224 opened 2 years ago
USER arch WORKDIR /home/arch/yay RUN sudo chmod -R a+w /home/arch/yay; \ git clone https://aur.archlinux.org/yay.git .; \ sudo -u nobody makepkg -si --noconfirm; \
USER arch WORKDIR /home/arch/yay RUN sudo chmod -R a+w /home/arch/yay; \ git clone https://aur.archlinux.org/yay.git .; \ sudo -u nobody makepkg -si --noconfirm; \
Hi @DONG-Jason I did as you said but still got the error,can you share your Dockerfile . thanks
when running docker build -t win10 .
it show Step 6/13 : RUN git clone https://aur.archlinux.org/yay.git .; makepkg -si --noconfirm; pacman -Syu qemu libvirt dnsmasq virt-manager bridge-utils flex bison ebtables edk2-ovmf netctl libvirt-dbus libguestfs --noconfirm; ---> Running in fc8695956e3a Cloning into '.'... ==> ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system. :: Synchronizing package databases... core downloading... extra downloading... community downloading... community-testing downloading... :: Starting full system upgrade... resolving dependencies... :: There are 2 providers available for resolvconf: :: Repository core 1) openresolv 2) systemd-resolvconf
Enter a number (default=1): looking for conflicting packages... :: iptables-nft and iptables are in conflict. Remove iptables? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies)
please help Thank You