Skip to content

Commit 25a630d

Browse files
committed
docker: install golangci-lint into /usr/bin
Relates #396
1 parent f7d2e92 commit 25a630d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM golang:1.11
22

3-
COPY golangci-lint /bin/
3+
# don't place it into $GOPATH/bin because Drone mounts $GOPATH as volume
4+
COPY golangci-lint /usr/bin/
45
CMD ["golangci-lint"]

0 commit comments

Comments
 (0)