This repository has been archived on 2024-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
aur-builder/builder-x86.dockerfile

19 lines
372 B
Plaintext
Raw Normal View History

2023-07-28 17:04:56 +02:00
FROM docker.io/archlinux:base-devel
# install dependencies
RUN pacman -Syu --noconfirm \
sudo \
git
# allow sudo for all users
RUN echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/wheel
# add builder user
RUN useradd builder -s /bin/bash -G wheel
# copy builder script
COPY --chmod=755 builder.sh /
# execute builder script
ENTRYPOINT [ "/builder.sh" ]