docs(website): add pacman download button (#2830)

This commit is contained in:
ReenigneArcher
2024-07-10 11:16:49 -04:00
committed by GitHub
parent 30748dd916
commit 6607a28a68
2 changed files with 8 additions and 12 deletions

View File

@ -7,15 +7,6 @@ ARG BASE=archlinux/archlinux
ARG TAG=base-devel
FROM ${BASE}:${TAG} AS sunshine-base
# install dependencies
RUN <<_DEPS
#!/bin/bash
set -e
pacman -Syu --disable-download-timeout --needed --noconfirm \
archlinux-keyring
pacman -Scc --noconfirm
_DEPS
# Setup builder user, arch prevents running makepkg as root
RUN useradd -m builder && \
echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
@ -40,6 +31,7 @@ RUN <<_DEPS
#!/bin/bash
set -e
pacman -Syu --disable-download-timeout --needed --noconfirm \
archlinux-keyring \
base-devel \
cmake \
cuda \