Skip to content

Commit 551c507

Browse files
committed
quickfix for docker dev container
1 parent e485abb commit 551c507

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎.devcontainer/Dockerfile‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,12 @@ ENV PATH="/usr/local/go/bin:/go/bin:${PATH}"
5757
RUN mkdir -p /go \
5858
&& go version \
5959
&& go env GOPATH
60-
RUN go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2
61-
RUN go install github.com/securego/gosec/v2/cmd/gosec@latest
60+
RUN curl -sSfL https://golangci-lint.run/install.sh \
61+
| sh -s -- -b /usr/local/bin v2.13.2
62+
RUN go install github.com/securego/gosec/v2/cmd/gosec@v2.28.0
63+
64+
RUN golangci-lint --version \
65+
&& gosec --version
6266

6367
# ---------------------------------------------------------------------------
6468
# Terraform

0 commit comments

Comments
 (0)