Merge branch 'feature/devcontainer' of https://github.com/go-skynet/llama-cli into feature/devcontainer

This commit is contained in:
Marc R Kellerman 2023-04-15 16:05:55 -07:00
commit d5a5571d0e
2 changed files with 5 additions and 12 deletions

15
.gitignore vendored
View file

@ -1,16 +1,9 @@
# go-llama build artifacts
go-llama.cpp
binding.o
libbinding.a
# llama models
models
go-llama
# llama-cli build binary
llama-cli
# make test reports
checkstyle-report.xml
profile.cov
coverage.xml
yamllint-checkstyle.xml
# Ignore models
models/*.bin
models/ggml-*

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-8b67998
ARG GO_LLAMA_CPP_TAG=llama.cpp-2f7c8e0
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 ./