client: Dockerfiles: local: root: package updates

- Prevents system upgrades from using Arch's `root` package
  * Currently, their package does not build with C++20 support

- Updates remote image package artifact location
  * Remote image's build artifact moved from /home/builder to /root

- Uses wildcard for local `root` package version
  * Reduces maintenance since any remote bump should rebuild this module
This commit is contained in:
2025-12-01 12:56:05 -08:00
parent 70be50b0d4
commit 5e45f307ad

View File

@@ -21,13 +21,16 @@
USER root
# Prevent system upgrades from using Arch's `root` package
RUN sed -i 's:^#IgnorePkg =:IgnorePkg = root:' /etc/pacman.conf
# ROOT.cern
# https://hub.docker.com/r/evergreencrypto/root
COPY --from=evergreencrypto/root:archlinux /home/builder/root/root-6.36.04-6-x86_64.pkg.tar.zst /usr/local/src/
COPY --from=evergreencrypto/root:archlinux /root/root-*.pkg.tar.zst /usr/local/src/
WORKDIR /usr/local/src
RUN pacman -Syu --noconfirm --disable-download-timeout
RUN pacman -U root-6.36.04-6-x86_64.pkg.tar.zst --noconfirm --disable-download-timeout
RUN pacman -U root-*.pkg.tar.zst --noconfirm --disable-download-timeout
# docker-finance
RUN pacman -Syu \