]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Install curl in runtime layer (#8693)
authorBrandon Squizzato <redacted>
Sun, 4 Aug 2024 18:17:16 +0000 (14:17 -0400)
committerGitHub <redacted>
Sun, 4 Aug 2024 18:17:16 +0000 (20:17 +0200)
.devops/llama-server.Dockerfile

index b631d580639b2cba52fad59d48b4c5597206e658..ff558604ebde23616976bd8bac654f000788dad4 100644 (file)
@@ -3,7 +3,7 @@ ARG UBUNTU_VERSION=22.04
 FROM ubuntu:$UBUNTU_VERSION AS build
 
 RUN apt-get update && \
-    apt-get install -y build-essential git libcurl4-openssl-dev curl
+    apt-get install -y build-essential git libcurl4-openssl-dev
 
 WORKDIR /app
 
@@ -16,7 +16,7 @@ RUN make -j$(nproc) llama-server
 FROM ubuntu:$UBUNTU_VERSION AS runtime
 
 RUN apt-get update && \
-    apt-get install -y libcurl4-openssl-dev libgomp1
+    apt-get install -y libcurl4-openssl-dev libgomp1 curl
 
 COPY --from=build /app/llama-server /llama-server