Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update registry.access.redhat.com/ubi9/python-311 docker tag to v9 #76

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chat/vulkan/amd64/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions chat/vulkan/arm64/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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
Expand Down