Files
archlinux-package-action/Dockerfile
T
D. Can Celasun 22a870372c Use archlinux/multilib-devel
Otherwise packages depending on multilib stuff can't be built.
2025-05-25 20:16:43 +01:00

23 lines
517 B
Docker

# Base image
FROM docker.io/library/archlinux:multilib-devel
# Install dependencies
RUN pacman -Syu --needed --noconfirm pacman-contrib namcap git
# Setup user
RUN useradd -m builder && \
echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
WORKDIR /home/builder
USER builder
# Install paru
RUN git clone https://aur.archlinux.org/paru-bin.git
RUN cd paru-bin && makepkg -si --noconfirm
# Copy files
COPY LICENSE README.md /
COPY entrypoint.sh /entrypoint.sh
# Set entrypoint
ENTRYPOINT ["/entrypoint.sh"]