Skip to content

Commit 5ae97b7

Browse files
committed
[mac_ai] testing: images: llama_cpp: update dnf before installing anything
1 parent 80ac77c commit 5ae97b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/mac_ai/testing/images/llama_cpp.containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ARG BUILD_FLAVOR="default"
55
ARG MESA_VERSION=24.2.8-104
66

77
RUN if [[ ${BUILD_FLAVOR} != remoting ]]; then \
8+
dnf update && \
89
dnf install -y python3-dnf-plugin-versionlock && \
910
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
1011
dnf copr enable -y slp/mesa-krunkit epel-9-aarch64 && \
@@ -19,6 +20,7 @@ RUN if [[ ${BUILD_FLAVOR} != remoting ]]; then \
1920
# for API Remoting
2021

2122
RUN if [[ ${BUILD_FLAVOR} == remoting ]]; then \
23+
dnf update && \
2224
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
2325
dnf install -y git cmake gcc gcc-c++ libdrm-devel; \
2426
fi

0 commit comments

Comments
 (0)