diff --git a/chat/vulkan/amd64/Containerfile b/chat/vulkan/amd64/Containerfile index 0dfe368..c3c6633 100644 --- a/chat/vulkan/amd64/Containerfile +++ b/chat/vulkan/amd64/Containerfile @@ -16,7 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 # Stage 1: Build dependencies -FROM registry.access.redhat.com/ubi9/python-311:1-77.1729776556 AS builder +FROM registry.access.redhat.com/ubi9/python-311:9.5-1731639064 AS builder USER 0 RUN dnf install -y python3-dnf-plugin-versionlock && \ dnf install -y mesa-vulkan-drivers-24.1.2-3.el9.x86_64 && \ @@ -38,7 +38,7 @@ ENV FORCE_CMAKE=1 RUN pip install --target=/locallm --no-cache-dir --upgrade -r requirements.txt # Stage 2: Create final image with minimal content -FROM registry.access.redhat.com/ubi9/python-311:1-77.1729776556 +FROM registry.access.redhat.com/ubi9/python-311:9.5-1731639064 COPY --from=builder /locallm/ /locallm COPY --from=builder /usr/bin/vkcube* /usr/bin/ COPY --from=builder /usr/bin/vulkaninfo /usr/bin/vulkaninfo diff --git a/chat/vulkan/arm64/Containerfile b/chat/vulkan/arm64/Containerfile index 48c9373..645e6af 100644 --- a/chat/vulkan/arm64/Containerfile +++ b/chat/vulkan/arm64/Containerfile @@ -16,7 +16,7 @@ # SPDX-License-Identifier: Apache-2.0 # Stage 1: Build dependencies -FROM registry.access.redhat.com/ubi9/python-311:1-77.1729776556 AS builder +FROM registry.access.redhat.com/ubi9/python-311:9.5-1731639064 AS builder USER 0 WORKDIR /locallm RUN dnf install -y python3-dnf-plugin-versionlock && \ @@ -36,7 +36,7 @@ ENV FORCE_CMAKE=1 RUN pip install --target=/locallm --no-cache-dir --upgrade -r requirements.txt # Stage 2: Create final image with minimal content -FROM registry.access.redhat.com/ubi9/python-311:1-77.1729776556 +FROM registry.access.redhat.com/ubi9/python-311:9.5-1731639064 COPY --from=builder /locallm/ /locallm COPY --from=builder /usr/bin/vkcube* /usr/bin/ COPY --from=builder /usr/bin/vulkaninfo /usr/bin/vulkaninfo