You've already forked aur_builder
working
This commit is contained in:
@ -3,17 +3,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
|
||||
COPY run.sh /run.sh
|
||||
|
||||
RUN echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts
|
||||
# RUN echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts
|
||||
|
||||
RUN pacman -Sy --noconfirm git
|
||||
|
||||
COPY mirrorlist /etc/pacman.d/mirrorlist
|
||||
|
||||
RUN useradd builder -m
|
||||
|
||||
WORKDIR /w
|
||||
|
||||
USER builder
|
||||
|
||||
CMD sudo pacman -Syu && makepkg --printsrcinfo > .SRCINFO && makepkg -s
|
||||
CMD /run.sh
|
||||
|
Reference in New Issue
Block a user