forked from EvergreenCrypto/docker-finance
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:
@@ -21,13 +21,16 @@
|
|||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
# Prevent system upgrades from using Arch's `root` package
|
||||||
|
RUN sed -i 's:^#IgnorePkg =:IgnorePkg = root:' /etc/pacman.conf
|
||||||
|
|
||||||
# ROOT.cern
|
# ROOT.cern
|
||||||
# https://hub.docker.com/r/evergreencrypto/root
|
# 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
|
WORKDIR /usr/local/src
|
||||||
RUN pacman -Syu --noconfirm --disable-download-timeout
|
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
|
# docker-finance
|
||||||
RUN pacman -Syu \
|
RUN pacman -Syu \
|
||||||
|
|||||||
Reference in New Issue
Block a user