initial commit

This commit is contained in:
Balakrishnan Balasubramanian 2025-02-08 15:34:54 -05:00
commit 12ef90ba53
4 changed files with 23 additions and 0 deletions

19
Containerfile Normal file
View File

@ -0,0 +1,19 @@
FROM docker.io/archlinux:base-devel
LABEL Description="Container to build archlinux packages"
COPY packager.conf /etc/makepkg.conf.d/packager.conf
COPY mirrorlist /etc/pacman.d/mirrorlist
COPY sudoers /etc/sudoers.d/builder
RUN echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts
RUN pacman -S --noconfirm git
RUN useradd builder -m
WORKDIR /w
USER builder
CMD sudo pacman -Syu && makepkg --printsrcinfo > .SRCINFO && makepkg -s

1
mirrorlist Normal file
View File

@ -0,0 +1 @@
Server = https://archmirror.i.balki.me/repo/archlinux/$repo/os/$arch

1
packager.conf Normal file
View File

@ -0,0 +1 @@
PACKAGER="Balakrishnan Balasubramanian <arch-pkger@balki.me>"

2
sudoers Normal file
View File

@ -0,0 +1,2 @@
%builder ALL=(ALL:ALL) NOPASSWD: ALL