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-arm.dockerfile

19 lines
381 B
Plaintext
Raw Normal View History

2023-07-28 17:04:56 +02:00
FROM docker.io/menci/archlinuxarm: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" ]