From cb4cf11c2351a1df029326c89a518dcff16dc984 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 14:19:41 +0800 Subject: [PATCH] build(image): always update system package longhorn/longhorn-8722 longhorn/longhorn-8721 Signed-off-by: Chin-Ya Huang (cherry picked from commit cdb3017100ebe8a377256fa705d33bd0b88b3ab1) --- package/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/Dockerfile b/package/Dockerfile index fbbe28d6..6eb8fc69 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -50,6 +50,9 @@ RUN if [ "$TARGETPLATFORM" != "linux/amd64" ] && [ "$TARGETPLATFORM" != "linux/a fi ENV ARCH ${TARGETPLATFORM#linux/} +RUN zypper -n ref && \ + zypper update -y + RUN zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/SLE_15/ snappy && \ zypper --gpg-auto-import-keys ref