Skip to content

Commit

Permalink
ci(docker): fix ArchLinux image cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Aug 18, 2023
1 parent 828c064 commit 4601bff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docker/archlinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# artifacts: true
# platforms: linux/amd64
# archlinux does not have an arm64 base image
# no-cache-filters: sunshine-base,artifacts,sunshine
ARG BASE=archlinux
ARG TAG=base-devel
FROM ${BASE}:${TAG} AS sunshine-base
Expand All @@ -11,7 +10,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

Expand All @@ -38,7 +37,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 \
Expand Down Expand Up @@ -102,7 +101,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

Expand Down

0 comments on commit 4601bff

Please sign in to comment.