Merge pull request #19 from go-skynet/tags

Use tags for go-llama.cpp
This commit is contained in:
Ettore Di Giacinto 2023-04-15 00:14:47 +02:00 committed by GitHub
commit 040290971c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,9 @@
ARG GO_VERSION=1.20
ARG DEBIAN_VERSION=11
FROM golang:$GO_VERSION as builder
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
COPY go.mod ./
COPY go.sum ./