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

This commit is contained in:
Al Mochkin 2024-07-17 20:21:55 +02:00 committed by GitHub
parent 30f80ca0bc
commit b3283448ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 19 additions and 19 deletions

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
@ -11,7 +11,7 @@ COPY . .
RUN make -j$(nproc) llama-cli
FROM ubuntu:$UBUNTU_VERSION as runtime
FROM ubuntu:$UBUNTU_VERSION AS runtime
RUN apt-get update && \
apt-get install -y libgomp1