mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-10-31 08:51:55 +00:00
devops: remove apt commands from distroless
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
@@ -35,15 +35,8 @@ FROM --platform=linux/s390x gcr.io/distroless/cc-debian12:nonroot AS server
|
||||
ENV LLAMA_ARG_HOST=0.0.0.0
|
||||
ENV LLAMA_ARG_PORT=8080
|
||||
|
||||
RUN apt update -y && \
|
||||
apt upgrade -y && \
|
||||
apt install -y libgomp1 curl && \
|
||||
apt autoremove -y && \
|
||||
apt clean -y
|
||||
|
||||
COPY --from=build /opt/llama.cpp/bin /
|
||||
|
||||
RUN ls -la | grep llama
|
||||
COPY --from=build /opt/llama.cpp/lib /
|
||||
|
||||
WORKDIR /models
|
||||
USER nonroot:nonroot
|
||||
|
||||
Reference in New Issue
Block a user