migrated to fedora 43 from rawhide to fix build issues

This commit is contained in:
Donato Capitella
2025-11-16 10:04:39 +00:00
parent a164b2308b
commit 7e583193d0
11 changed files with 108 additions and 22 deletions
+10 -3
View File
@@ -1,5 +1,7 @@
# build stage
FROM registry.fedoraproject.org/fedora:rawhide AS builder
FROM registry.fedoraproject.org/fedora:43 AS builder
# Toggle llama.cpp PR 15405 (RPC perf for large models)
ARG APPLY_LLAMA_PR_15405=1
# rocm 7.1 repo
RUN <<'EOF'
@@ -47,6 +49,12 @@ RUN chmod +x /opt/apply-rocwmma-fix.sh && /opt/apply-rocwmma-fix.sh /opt/llama.c
# build
RUN git clean -xdf \
&& if [ "${APPLY_LLAMA_PR_15405}" = "1" ]; then \
git config user.email "builder@localhost"; \
git config user.name "Container Builder"; \
git fetch origin pull/15405/head:pr-15405; \
git merge --no-edit pr-15405; \
fi \
&& git submodule update --recursive \
&& cmake -S . -B build \
-DGGML_HIP=ON \
@@ -73,7 +81,7 @@ RUN chmod +x /usr/local/bin/gguf-vram-estimator.py
# runtime stage
FROM registry.fedoraproject.org/fedora-minimal:rawhide
FROM registry.fedoraproject.org/fedora-minimal:43
# rocm 7.1 repo
RUN <<'EOF'
@@ -119,4 +127,3 @@ RUN printf '%s\n' \
# shell
CMD ["/bin/bash"]