mirror of
https://github.com/containers/ramalama.git
synced 2026-02-05 06:46:39 +01:00
Remove build and installation of whisper.cpp, and installation of ffmpeg. Rename build_llama_and_whisper.sh to build_llama.sh. Update Containerfiles to reference new script name. Consolidate management of cmake args in build_llama.sh. Remove references to whisper-server in various locations. Signed-off-by: Mike Bonnet <mikeb@redhat.com>
24 lines
815 B
Docker
24 lines
815 B
Docker
FROM quay.io/fedora/fedora:43 as builder
|
|
|
|
COPY container-images/intel-gpu/oneAPI.repo /etc/yum.repos.d/
|
|
COPY container-images/scripts/build_llama.sh \
|
|
container-images/scripts/lib.sh \
|
|
/src/
|
|
WORKDIR /src/
|
|
RUN ./build_llama.sh intel-gpu
|
|
|
|
FROM quay.io/fedora/fedora:43
|
|
|
|
COPY --from=builder /tmp/install/ /usr/
|
|
COPY container-images/intel-gpu/oneAPI.repo /etc/yum.repos.d/
|
|
|
|
RUN dnf install -y --setopt=install_weak_deps=false \
|
|
procps-ng intel-oneapi-runtime-mkl intel-oneapi-mkl-sycl-dft \
|
|
intel-level-zero oneapi-level-zero intel-compute-runtime lspci \
|
|
clinfo intel-oneapi-runtime-compilers intel-oneapi-mkl-core \
|
|
intel-oneapi-mkl-sycl-blas intel-oneapi-runtime-dnnl gawk
|
|
|
|
COPY --chmod=755 container-images/intel-gpu/entrypoint.sh /usr/bin/
|
|
|
|
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
|