Skip to content

Commit 3c85f51

Browse files
committed
Add curl package and disable LLAMA_CURL in cmake build options
Reference: ggml-org/llama.cpp#12761
1 parent 80fbaef commit 3c85f51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ RUN apk add --update \
66
build-base \
77
cmake \
88
ccache \
9-
git
9+
git \
10+
curl
1011

1112
# Build llama.cpp server and collect libraries
1213
RUN cd /tmp && \
1314
git clone https://github.com/ggerganov/llama.cpp.git --depth=1 && \
1415
cd llama.cpp && \
15-
cmake -B build -DGGML_NATIVE=OFF && \
16+
cmake -B build -DGGML_NATIVE=OFF -DLLAMA_CURL=OFF && \
1617
cmake --build build --config Release -j --target llama-server && \
1718
mkdir -p /usr/local/lib/llama && \
1819
find build -type f \( -name "libllama.so" -o -name "libggml.so" -o -name "libggml-base.so" -o -name "libggml-cpu.so" \) -exec cp {} /usr/local/lib/llama/ \;

0 commit comments

Comments
 (0)