Skip to content

Commit

Permalink
added sciplot install through paru
Browse files Browse the repository at this point in the history
  • Loading branch information
JPenuchot committed Sep 26, 2024
1 parent e0ff70f commit 3951d89
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/actions/run-tests-archlinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,33 @@ RUN pacman -S --noconfirm \

WORKDIR /tmp

#
# AUR packages installation
#

RUN useradd -u 24 -m builder
RUN usermod -aG wheel builder
RUN echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers

USER builder

RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts

RUN git clone https://aur.archlinux.org/paru-git.git /tmp/paru
WORKDIR /tmp/paru
RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
ulimit -n 128 && makepkg -si --noconfirm

USER builder

RUN --mount=type=cache,sharing=locked,target=/var/cache/pacman \
ulimit -n 128 && paru -S --noconfirm \
sciplot-git

# Run tests

USER root

WORKDIR /
COPY entrypoint.sh /entrypoint.sh
ARG CXX_COMPILER=clang++
Expand Down

0 comments on commit 3951d89

Please sign in to comment.