From bd67420feae7a48ccbf7dae7273962f4875097a6 Mon Sep 17 00:00:00 2001 From: Shang Chieh Tseng Date: Fri, 11 Apr 2025 16:38:55 +0800 Subject: [PATCH] Correct the g++ path --- ollama37/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ollama37/Dockerfile b/ollama37/Dockerfile index 6ef15fd..c7c7769 100644 --- a/ollama37/Dockerfile +++ b/ollama37/Dockerfile @@ -5,8 +5,8 @@ FROM dogkeeper886/ollama37-builder AS builder RUN cd /usr/local/src \ && git clone https://github.com/dogkeeper886/ollama37 \ && cd ollama37 \ - && CC=/usr/local/bin/gcc CXX=/usr/local/g++ cmake -B build \ - && CC=/usr/local/bin/gcc CXX=/usr/local/g++ cmake --build build \ + && CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ cmake -B build \ + && CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ cmake --build build \ && go build -o ollama . # ===== Stage 2: Runtime image =====