From df93a9bd80fab01008a3c75dfe40862e78e58fd4 Mon Sep 17 00:00:00 2001 From: fbt Date: Wed, 25 Oct 2023 11:59:33 +0000 Subject: [PATCH] fix latest changes Signed-off-by: fbt --- autobuilder/Containerfile | 5 +++-- autobuilder/build-container | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 autobuilder/build-container diff --git a/autobuilder/Containerfile b/autobuilder/Containerfile index 7fa85c3..cc7f433 100644 --- a/autobuilder/Containerfile +++ b/autobuilder/Containerfile @@ -1,10 +1,11 @@ ARG BASEIMAGE=localhost/spark FROM $BASEIMAGE -RUN pacman -Suy --noconfirm base-devel # cache +COPY ./mirrorlist /etc/pacman.d/mirrorlist COPY gnupg /.gnupg COPY ./build /build -COPY ./mirrorlist /etc/pacman.d/mirrorlist +RUN pacman -Sy --noconfirm archlinux-keyring +RUN pacman -Suy --noconfirm base-devel RUN chmod 700 /.gnupg diff --git a/autobuilder/build-container b/autobuilder/build-container new file mode 100755 index 0000000..dc8ede1 --- /dev/null +++ b/autobuilder/build-container @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +podman build . -t 'spark:autobuilder'