From 0537f832a41875c712eabbc015dcd111b3aef195 Mon Sep 17 00:00:00 2001 From: Alexander Indenbaum Date: Wed, 1 May 2024 16:01:27 +0300 Subject: [PATCH] Dockerfiles: freeze ubi at registry.access.redhat.com/ubi9/ubi@sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072 Signed-off-by: Alexander Indenbaum --- Dockerfile | 2 +- Dockerfile.spdk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6b57821..518c522f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG NVMEOF_SPDK_VERSION \ #------------------------------------------------------------------------------ # Base image for NVMEOF_TARGET=cli (nvmeof-cli) -FROM registry.access.redhat.com/ubi9/ubi AS base-cli +FROM registry.access.redhat.com/ubi9/ubi@sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072 AS base-cli ENV GRPC_DNS_RESOLVER=native ENTRYPOINT ["python3", "-m", "control.cli"] CMD [] diff --git a/Dockerfile.spdk b/Dockerfile.spdk index 2cba8821..efaab87b 100644 --- a/Dockerfile.spdk +++ b/Dockerfile.spdk @@ -90,11 +90,11 @@ RUN \ RUN make -C ./examples/bdev/bdevperf #------------------------------------------------------------------------------ -FROM registry.access.redhat.com/ubi9/ubi AS rpm-export +FROM registry.access.redhat.com/ubi9/ubi@sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072 AS rpm-export COPY --from=build /root/rpmbuild/rpm /rpm #------------------------------------------------------------------------------ -FROM registry.access.redhat.com/ubi9/ubi as spdk +FROM registry.access.redhat.com/ubi9/ubi@sha256:66233eebd72bb5baa25190d4f55e1dc3fff3a9b77186c1f91a0abdb274452072 as spdk ARG SPDK_CEPH_VERSION \ SPDK_VERSION \