mirror of
https://github.com/dogkeeper886/ollama-k80-lab.git
synced 2025-12-10 07:46:59 +00:00
Correct the g++ path
This commit is contained in:
@@ -5,8 +5,8 @@ FROM dogkeeper886/ollama37-builder AS builder
|
|||||||
RUN cd /usr/local/src \
|
RUN cd /usr/local/src \
|
||||||
&& git clone https://github.com/dogkeeper886/ollama37 \
|
&& git clone https://github.com/dogkeeper886/ollama37 \
|
||||||
&& cd ollama37 \
|
&& cd ollama37 \
|
||||||
&& CC=/usr/local/bin/gcc CXX=/usr/local/g++ cmake -B build \
|
&& CC=/usr/local/bin/gcc CXX=/usr/local/bin/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 --build build \
|
||||||
&& go build -o ollama .
|
&& go build -o ollama .
|
||||||
|
|
||||||
# ===== Stage 2: Runtime image =====
|
# ===== Stage 2: Runtime image =====
|
||||||
|
|||||||
Reference in New Issue
Block a user