浏览代码

fix docker build (#659)

Michael Yang 1 年之前
父节点
当前提交
0a4f21c0a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

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