From dc87e9c9ae911d74dd55fe25646b8ed8b2eb4e4d Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Tue, 3 Oct 2023 07:05:09 -0700 Subject: [PATCH] update `Dockerfile` to pass `GOFLAGS` --- Dockerfile | 2 +- Dockerfile.build | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ccb92df2..83a41448 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 ARG TARGETARCH -ARG VERSION=0.0.0 ARG GOFLAGS="'-ldflags=-w -s'" WORKDIR /go/src/github.com/jmorganca/ollama @@ -11,6 +10,7 @@ RUN mkdir -p /usr/local && tar xz -C /usr/local