From c6bd6c323cfae0ca1b740801d60cd8c5c310a637 Mon Sep 17 00:00:00 2001 From: Chin-Ya Huang Date: Tue, 11 Jun 2024 17:18:14 +0800 Subject: [PATCH] build(image): always update package longhorn/longhorn-8721 Signed-off-by: Chin-Ya Huang (cherry picked from commit 84e8b7b6beae6e31a35edeae556b1970fd87132f) --- package/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/Dockerfile b/package/Dockerfile index 8ed36172..f088f4cd 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -2,6 +2,9 @@ FROM registry.suse.com/bci/bci-base:15.5 AS build ARG ARCH=amd64 +RUN zypper -n ref && \ + zypper update -y + # Based on https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner/blob/master/deploy/docker/x86_64/Dockerfile # Build ganesha from source, install it to /usr/local and a use multi stage build to have a smaller image # RUN dnf install -y tar gcc cmake-3.14.2-1.fc30 autoconf libtool bison flex make gcc-c++ krb5-devel dbus-devel jemalloc-devel libnfsidmap-devel libnsl2-devel userspace-rcu-devel patch libblkid-devel