From aa5eaacbc93afa09c475569ca1de0799a8c71a5d Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Fri, 6 Sep 2024 14:00:29 +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 a448965280e3a21f98b579309ed29a01ea103b24) --- package/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/Dockerfile b/package/Dockerfile index ccc768acd..0b59cab8d 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -38,6 +38,9 @@ FROM registry.suse.com/bci/bci-base:15.6 AS release ARG ARCH=amd64 +RUN zypper -n ref && \ + zypper update -y + RUN zypper -n addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/SLE_15/system:snappy.repo && \ zypper -n addrepo --refresh https://download.opensuse.org/repositories/network:/utilities/SLE_15_SP5/network:utilities.repo && \ zypper --gpg-auto-import-keys ref