diff --git a/Dockerfile b/Dockerfile index 7a376e2..a8fe617 100644 --- a/Dockerfile +++ b/Dockerfile @@ -222,8 +222,8 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12 ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst -# fixe ad hoc errors from using the arch museum to get libguestfs -RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional" +# fix ad hoc errors from using the arch museum to get libguestfs +RUN sudo sed -i -e 's/^\#RemoteFileSigLevel/RemoteFileSigLevel/g' /etc/pacman.conf RUN sudo pacman -Syy \ && sudo pacman -Rns linux --noconfirm \ diff --git a/Dockerfile.auto b/Dockerfile.auto index 5c7c6bd..aae6e2f 100644 --- a/Dockerfile.auto +++ b/Dockerfile.auto @@ -104,8 +104,8 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12 ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst -# fixe ad hoc errors from using the arch museum to get libguestfs -RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional" +# fix ad hoc errors from using the arch museum to get libguestfs +RUN sudo sed -i -e 's/^\#RemoteFileSigLevel/RemoteFileSigLevel/g' /etc/pacman.conf RUN sudo pacman -Syy \ && sudo pacman -Rns linux --noconfirm \ diff --git a/Dockerfile.naked b/Dockerfile.naked index 0c318b5..3d5e2ef 100644 --- a/Dockerfile.naked +++ b/Dockerfile.naked @@ -217,8 +217,8 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12 ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst -# fixe ad hoc errors from using the arch museum to get libguestfs -RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional" +# fix ad hoc errors from using the arch museum to get libguestfs +RUN sudo sed -i -e 's/^\#RemoteFileSigLevel/RemoteFileSigLevel/g' /etc/pacman.conf RUN sudo pacman -Syy \ && sudo pacman -Rns linux --noconfirm \ diff --git a/Dockerfile.naked-auto b/Dockerfile.naked-auto index aef3482..43dfdc5 100644 --- a/Dockerfile.naked-auto +++ b/Dockerfile.naked-auto @@ -84,8 +84,8 @@ ENV KERNEL_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-5.12 ENV KERNEL_HEADERS_PACKAGE_URL=https://archive.archlinux.org/packages/l/linux/linux-headers-5.12.14.arch1-1-x86_64.pkg.tar.zst ENV LIBGUESTFS_PACKAGE_URL=https://archive.archlinux.org/packages/l/libguestfs/libguestfs-1.44.1-6-x86_64.pkg.tar.zst -# fixe ad hoc errors from using the arch museum to get libguestfs -RUN tee -a /etc/pacman.conf <<< "RemoteFileSigLevel = Optional" +# fix ad hoc errors from using the arch museum to get libguestfs +RUN sudo sed -i -e 's/^\#RemoteFileSigLevel/RemoteFileSigLevel/g' /etc/pacman.conf RUN sudo pacman -Syy \ && sudo pacman -Rns linux --noconfirm \