build : Fix docker build warnings (#8535) (#8537)

This commit is contained in:
Al Mochkin authored and GitHub committed 2024-07-17 20:21:55 +02:00
1 parent 30f80ca0bc
commit b3283448ce
13 files changed
+19 -19

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
ARG UBUNTU_VERSION=22.04
FROM ubuntu:$UBUNTU_VERSION as build
FROM ubuntu:$UBUNTU_VERSION AS build
RUN apt-get update && \
apt-get install -y build-essential git libcurl4-openssl-dev curl
@@ -13,7 +13,7 @@ ENV LLAMA_CURL=1
RUN make -j$(nproc) llama-server
FROM ubuntu:$UBUNTU_VERSION as runtime
FROM ubuntu:$UBUNTU_VERSION AS runtime
RUN apt-get update && \
apt-get install -y libcurl4-openssl-dev libgomp1