Team Ai
Apppublic

jaothan/podman_llamacpp_python

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Containerfile18 linesDownload Raw Back to amd64
1FROM registry.access.redhat.com/ubi9/python-311:1-77.17266643162USER 03RUN dnf install -y python3-dnf-plugin-versionlock4RUN dnf install -y mesa-vulkan-drivers-24.1.2-3.el9.x86_645RUN dnf versionlock mesa-vulkan-drivers-24.1.2-3.el9.x86_646RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm7RUN dnf install -y git cmake ninja-build gcc gcc-c++ 8RUN dnf copr enable -y ligenix/enterprise-sandbox epel-9-x86_649RUN dnf install -y vulkan-headers vulkan-tools10USER 100111WORKDIR /locallm12COPY src .13RUN pip install --upgrade pip14ENV CMAKE_ARGS="-DLLAMA_VULKAN=on"15ENV FORCE_CMAKE=116RUN pip install --no-cache-dir --upgrade -r /locallm/requirements.txt17ENTRYPOINT [ "sh", "run.sh" ]18