diff --git a/images/cspo/Dockerfile b/images/cspo/Dockerfile index 1223e30c..aeccd25b 100644 --- a/images/cspo/Dockerfile +++ b/images/cspo/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Build the manager binary -FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.23.3-bullseye as build +FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.23.4-bullseye as build ARG TARGETOS TARGETARCH COPY . /src/cluster-stack-provider-openstack @@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go/pkg \ go build -mod=vendor -trimpath -ldflags "-s -w ${LDFLAGS} -extldflags '-static'" \ -o manager cmd/main.go -FROM --platform=${BUILDPLATFORM} docker.io/library/alpine:3.20.3 +FROM --platform=${BUILDPLATFORM} docker.io/library/alpine:3.21.2 WORKDIR / COPY --from=build /src/cluster-stack-provider-openstack/manager .