mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 18:45:00 +00:00
Use tags for go-llama.cpp
This commit is contained in:
parent
f76b612506
commit
553bad585e
1 changed files with 2 additions and 3 deletions
|
@ -1,10 +1,9 @@
|
||||||
ARG GO_VERSION=1.20
|
ARG GO_VERSION=1.20
|
||||||
ARG DEBIAN_VERSION=11
|
ARG DEBIAN_VERSION=11
|
||||||
|
|
||||||
FROM golang:$GO_VERSION as builder
|
FROM golang:$GO_VERSION as builder
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN git clone --recurse-submodules https://github.com/go-skynet/go-llama.cpp
|
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
|
RUN cd go-llama.cpp && make libbinding.a
|
||||||
COPY go.mod ./
|
COPY go.mod ./
|
||||||
COPY go.sum ./
|
COPY go.sum ./
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue