From e1da4a4d163338c5b020f95659c438a2d39267c3 Mon Sep 17 00:00:00 2001 From: Adam Gibson Date: Sun, 16 Mar 2025 15:37:06 +0800 Subject: [PATCH] Allow for user choice of ollama portable zip at build time --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61d28d8..08be10e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:24.04 ENV DEBIAN_FRONTEND=noninteractive ENV TZ=america/los_angeles +ARG IPEXLLM_PORTABLE_ZIP_FILENAME=ollama-ipex-llm-2.2.0b20250313-ubuntu.tgz # Base packages RUN apt update && \ @@ -24,8 +25,8 @@ RUN mkdir -p /tmp/gpu && \ # Install Ollama Portable Zip RUN cd / && \ - wget https://github.com/mattcurf/ollama-intel-gpu/releases/download/v0.0.1/ollama-0.5.4-ipex-llm-2.2.0b20250220-ubuntu.tgz && \ - tar xvf ollama-0.5.4-ipex-llm-2.2.0b20250220-ubuntu.tgz --strip-components=1 -C / + wget https://github.com/intel/ipex-llm/releases/download/v2.2.0-nightly/${IPEXLLM_PORTABLE_ZIP_FILENAME} && \ + tar xvf ${IPEXLLM_PORTABLE_ZIP_FILENAME} --strip-components=1 -C / ENV OLLAMA_HOST=0.0.0.0:11434