Revert "Merge branch 'master' into feature/devcontainer"

This reverts commit 56f2b743df, reversing
changes made to 5fab6ab544.
This commit is contained in:
Marc R Kellerman 2023-04-15 15:24:53 -07:00
parent 56f2b743df
commit 50339456b0
3 changed files with 14 additions and 5 deletions

View file

@ -2,7 +2,7 @@ ARG GO_VERSION=1.20
ARG DEBIAN_VERSION=11
FROM golang:$GO_VERSION as builder
WORKDIR /build
ARG GO_LLAMA_CPP_TAG=llama.cpp-2f7c8e0
ARG GO_LLAMA_CPP_TAG=llama.cpp-8b67998
RUN git clone -b $GO_LLAMA_CPP_TAG --recurse-submodules https://github.com/go-skynet/go-llama.cpp
RUN cd go-llama.cpp && make libbinding.a
COPY go.mod ./
@ -17,4 +17,4 @@ RUN C_INCLUDE_PATH=/build/go-llama.cpp LIBRARY_PATH=/build/go-llama.cpp go build
FROM debian:$DEBIAN_VERSION
COPY --from=builder /build/llama-cli /usr/bin/llama-cli
ENTRYPOINT [ "/usr/bin/llama-cli" ]
CMD [ "sleep", "infinity" ]
CMD [ "sleep", "infinity" ]