diff --git a/autobuilder/Containerfile b/autobuilder/Containerfile index 4cc897e..9e4a3b4 100644 --- a/autobuilder/Containerfile +++ b/autobuilder/Containerfile @@ -5,7 +5,11 @@ COPY ./mirrorlist /etc/pacman.d/mirrorlist COPY gnupg /.gnupg COPY ./build /build +# No landlock in containers +RUN sed -ri 's/^#DisableSandboxFilesystem/DisableSandboxFilesystem/' /etc/pacman.conf + RUN pacman -Sy --noconfirm archlinux-keyring -RUN pacman -Suy --noconfirm base-devel nodejs git +RUN pacman -Rdd --noconfirm systemd-libs-systemd systemd-libs-udev +RUN pacman -Suy --noconfirm base-devel nodejs git systemd-libs RUN chmod 700 /.gnupg diff --git a/autobuilder/build-container b/autobuilder/build-container index dc8ede1..5635f3f 100755 --- a/autobuilder/build-container +++ b/autobuilder/build-container @@ -1,3 +1,3 @@ #!/usr/bin/env bash -podman build . -t 'spark:autobuilder' +podman build --no-cache . -t 'spark:autobuilder'