fix docker build (#659)

This commit is contained in:
Michael Yang 2023-09-30 13:34:01 -07:00 committed by GitHub
parent 9abb66254a
commit 0a4f21c0a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
ARG TARGETARCH ARG TARGETARCH
ARG VERSION=0.0.0 ARG VERSION=0.0.0
ARG GOFLAGS="'-ldflags -w -s'" ARG GOFLAGS="'-ldflags=-w -s'"
WORKDIR /go/src/github.com/jmorganca/ollama WORKDIR /go/src/github.com/jmorganca/ollama
RUN apt-get update && apt-get install -y git build-essential cmake RUN apt-get update && apt-get install -y git build-essential cmake