mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-04-07 13:21:05 +00:00
ci(docker): fix ArchLinux image cache (#1554)
This commit is contained in:
parent
828c064b2e
commit
5b93265053
@ -2,7 +2,7 @@
|
|||||||
# artifacts: true
|
# artifacts: true
|
||||||
# platforms: linux/amd64
|
# platforms: linux/amd64
|
||||||
# archlinux does not have an arm64 base image
|
# archlinux does not have an arm64 base image
|
||||||
# no-cache-filters: sunshine-base,artifacts,sunshine
|
# no-cache-filters: artifacts,sunshine
|
||||||
ARG BASE=archlinux
|
ARG BASE=archlinux
|
||||||
ARG TAG=base-devel
|
ARG TAG=base-devel
|
||||||
FROM ${BASE}:${TAG} AS sunshine-base
|
FROM ${BASE}:${TAG} AS sunshine-base
|
||||||
@ -11,7 +11,7 @@ FROM ${BASE}:${TAG} AS sunshine-base
|
|||||||
RUN <<_DEPS
|
RUN <<_DEPS
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
pacman -Syu --disable-download-timeout --noconfirm \
|
pacman -Syu --disable-download-timeout --needed --noconfirm \
|
||||||
archlinux-keyring
|
archlinux-keyring
|
||||||
_DEPS
|
_DEPS
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||||||
RUN <<_DEPS
|
RUN <<_DEPS
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
pacman -Syu --disable-download-timeout --noconfirm \
|
pacman -Syu --disable-download-timeout --needed --noconfirm \
|
||||||
base-devel \
|
base-devel \
|
||||||
cmake \
|
cmake \
|
||||||
cuda \
|
cuda \
|
||||||
@ -102,7 +102,7 @@ COPY --link --from=artifacts /sunshine.pkg.tar.zst /
|
|||||||
RUN <<_INSTALL_SUNSHINE
|
RUN <<_INSTALL_SUNSHINE
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
pacman -U --disable-download-timeout --noconfirm \
|
pacman -U --disable-download-timeout --needed --noconfirm \
|
||||||
/sunshine.pkg.tar.zst
|
/sunshine.pkg.tar.zst
|
||||||
_INSTALL_SUNSHINE
|
_INSTALL_SUNSHINE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user