From: Brandon Squizzato Date: Sun, 4 Aug 2024 18:17:16 +0000 (-0400) Subject: Install curl in runtime layer (#8693) X-Git-Tag: upstream/0.0.4488~976 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=0d6fb52be0c1b7e77eb855f3adc4952771c8ce4c;p=pkg%2Fggml%2Fsources%2Fllama.cpp Install curl in runtime layer (#8693) --- diff --git a/.devops/llama-server.Dockerfile b/.devops/llama-server.Dockerfile index b631d580..ff558604 100644 --- a/.devops/llama-server.Dockerfile +++ b/.devops/llama-server.Dockerfile @@ -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