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