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..e318ef2 100644 --- a/chat/vulkan/arm64/Containerfile +++ b/chat/vulkan/arm64/Containerfile @@ -16,15 +16,15 @@ # 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 && \ dnf install -y \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \ dnf copr enable -y slp/mesa-krunkit epel-9-aarch64 && \ - dnf install -y mesa-vulkan-drivers-23.3.3-102.el9.aarch64 && \ - dnf versionlock mesa-vulkan-drivers-23.3.3-102.el9.aarch64 && \ + dnf install -y mesa-vulkan-drivers-24.1.2-101.el9.aarch64 && \ + dnf versionlock mesa-vulkan-drivers-24.1.2-101.el9.aarch64 && \ dnf install -y git cmake ninja-build gcc gcc-c++ vulkan-loader-devel vulkan-tools && \ dnf copr enable -y jeffmaury/shaderc epel-9-aarch64 && \ dnf install -y glslc && \ @@ -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