Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Commit 84dd827

Browse files
committed
Add golangci-lint to main Dockerfile
1 parent 2865b69 commit 84dd827

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ COPY go.sum go.sum
99
# and so that source changes don't invalidate our downloaded layer
1010
RUN go mod download
1111

12+
# Install golangci-linter
13+
RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0
14+
1215
# Copy the go source
1316
COPY main.go main.go
1417
COPY api/ api/

0 commit comments

Comments
 (0)