From 518d28ac2f50f3aedfda1469244223b347c9cd63 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Tue, 22 Mar 2022 12:53:08 +0100 Subject: [PATCH] Fix image building --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ca268dd2c..dbb86cce2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ COPY . . ENV GOPATH=/go +RUN apk add git --no-cache + RUN go build -ldflags '-extldflags "-static"' github.com/lomik/graphite-clickhouse FROM alpine:latest