From f39e90c134baf1d00dfd798bf9b0d1bb97e04912 Mon Sep 17 00:00:00 2001 From: Sergey Berezansky Date: Thu, 19 Dec 2024 21:01:29 +0200 Subject: [PATCH] fix(deps): fix UBI image for AMD64/ARM64 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbf27be9..1a2b6b0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG KUBECTL_VERSION=1.31.2 -ARG UBI_HASH=9ac75c1a392429b4a087971cdf9190ec42a854a169b6835bc9e25eecaf851258 +ARG UBI_HASH=9.5-1734495538 FROM golang:1.22-alpine AS go-builder ARG TARGETARCH ARG TARGETOS @@ -30,7 +30,7 @@ RUN echo Building package RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -a -ldflags '-X main.version='$VERSION' -extldflags "-static"' -o "/bin/wekafsplugin" /src/cmd/* FROM registry.k8s.io/kubernetes/kubectl:v${KUBECTL_VERSION} AS kubectl -FROM registry.access.redhat.com/ubi9/ubi@sha256:${UBI_HASH} +FROM registry.access.redhat.com/ubi9/ubi:${UBI_HASH} LABEL maintainers="WekaIO, LTD" LABEL description="Weka CSI Driver"