From 179080a37795fd4e62122244a86c80ceec5ab49d Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 6 Mar 2021 09:28:11 +0300 Subject: [PATCH] Arch Signed-off-by: fbt --- README.md | 8 ++++++++ autobuilder/Containerfile | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 676b668..44306f6 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,14 @@ Then build a builder image from `./autobuilder`: cd ./autobuilder; podman build --rm -t localhost/spark:autobuilder . ``` +Example for Arch images: +``` +cd autobuilder +podman build --build-arg BASEIMAGE=docker.io/archlinux:base-devel --rm -t localhost/arch:autobuilder . + +PODMAN_IMAGE=localhost/arch:autobuilder makepkg-ci /tmp/pkg https://code.fleshless.org/PKGBUILDs/ssm-git +``` + makepkg-podman -------------- diff --git a/autobuilder/Containerfile b/autobuilder/Containerfile index 9d404f1..d2f1e42 100644 --- a/autobuilder/Containerfile +++ b/autobuilder/Containerfile @@ -1,4 +1,5 @@ -FROM localhost/spark +ARG BASEIMAGE=localhost/spark +FROM $BASEIMAGE RUN pacman -Suy --noconfirm base-devel COPY gnupg /.gnupg