Skip to content

Commit

Permalink
all: remove goimports from docker
Browse files Browse the repository at this point in the history
  • Loading branch information
changkun committed Apr 19, 2021
1 parent 43510a4 commit 1c54e0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 1c54e0f

Please sign in to comment.