From 5b93265053e64c0509060cc37ebea3d2b23db28c Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Thu, 17 Aug 2023 21:49:59 -0400 Subject: [PATCH] ci(docker): fix ArchLinux image cache (#1554) --- docker/archlinux.dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/archlinux.dockerfile b/docker/archlinux.dockerfile index 5ff4a4ab0..c5deb36c3 100644 --- a/docker/archlinux.dockerfile +++ b/docker/archlinux.dockerfile @@ -2,7 +2,7 @@ # artifacts: true # platforms: linux/amd64 # archlinux does not have an arm64 base image -# no-cache-filters: sunshine-base,artifacts,sunshine +# no-cache-filters: artifacts,sunshine ARG BASE=archlinux ARG TAG=base-devel FROM ${BASE}:${TAG} AS sunshine-base @@ -11,7 +11,7 @@ FROM ${BASE}:${TAG} AS sunshine-base RUN <<_DEPS #!/bin/bash set -e -pacman -Syu --disable-download-timeout --noconfirm \ +pacman -Syu --disable-download-timeout --needed --noconfirm \ archlinux-keyring _DEPS @@ -38,7 +38,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN <<_DEPS #!/bin/bash set -e -pacman -Syu --disable-download-timeout --noconfirm \ +pacman -Syu --disable-download-timeout --needed --noconfirm \ base-devel \ cmake \ cuda \ @@ -102,7 +102,7 @@ COPY --link --from=artifacts /sunshine.pkg.tar.zst / RUN <<_INSTALL_SUNSHINE #!/bin/bash set -e -pacman -U --disable-download-timeout --noconfirm \ +pacman -U --disable-download-timeout --needed --noconfirm \ /sunshine.pkg.tar.zst _INSTALL_SUNSHINE