From 25a630d206e1c306013f763e5f1c92afd83af630 Mon Sep 17 00:00:00 2001 From: Denis Isaev Date: Sun, 17 Feb 2019 20:37:35 +0300 Subject: [PATCH] docker: install golangci-lint into /usr/bin Relates #396 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9a859f44..1ca40d19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM golang:1.11 -COPY golangci-lint /bin/ +# don't place it into $GOPATH/bin because Drone mounts $GOPATH as volume +COPY golangci-lint /usr/bin/ CMD ["golangci-lint"]