From 1c54e0f23b06adec44b97e617bdf0f00c6bd3a12 Mon Sep 17 00:00:00 2001 From: Changkun Ou Date: Mon, 19 Apr 2021 19:47:43 +0200 Subject: [PATCH] all: remove goimports from docker --- docker/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6e8adcd..b87915e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,7 +6,5 @@ FROM golang:1.16.3 WORKDIR /app ADD . /app # required for runtime/cgo -RUN apt install g++ && \ - go get -u golang.org/x/tools/cmd/goimports && go mod tidy && \ - go build -o gossa -mod=readonly +RUN apt install g++ && go mod tidy && go build -o gossa -mod=readonly CMD [ "/app/gossa", "-conf=/app/configs/docker.yaml"]