From f5d6014a325f16a3f63d6445100c72899ca90329 Mon Sep 17 00:00:00 2001 From: robincw-gr Date: Wed, 18 Sep 2019 16:02:56 +0100 Subject: [PATCH] Remove unnecessary options --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5bf6c09..c1565a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,8 @@ # build stage FROM golang:alpine AS build-env -RUN apk --no-cache add build-base git bzr mercurial gcc ADD . /src WORKDIR /src -ENV CGO_ENABLED=0 ENV GOOS=linux -ENV GOARCH=386 RUN go build -mod=vendor -ldflags '-extldflags "-static"' -o geras ./cmd/geras/main.go # final stage