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"