c373f73845
Paru has not been updated in months and is incompatible with the current version of pacman / libalpm, which is v16.0.0. See upstream issue [1]. Replace paru with yay so the action works again. Also updated CI test with latest Spotify as the old version is gone now. [1] https://github.com/Morganamilo/paru/issues/1454
23 lines
514 B
Docker
23 lines
514 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 yay
|
|
RUN git clone https://aur.archlinux.org/yay-bin.git
|
|
RUN cd yay-bin && makepkg -si --noconfirm
|
|
|
|
# Copy files
|
|
COPY LICENSE README.md /
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
# Set entrypoint
|
|
ENTRYPOINT ["/entrypoint.sh"]
|