fix: update Dockerfile
- Upgrade Go to v1.23.2 - Install gosec - Install staticcheck
This commit is contained in:
parent
968255a5b2
commit
2e710ad3fe
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM golang:1.23.0
|
FROM golang:1.23.2
|
||||||
|
|
||||||
RUN go install github.com/magefile/mage@v1.15.0
|
RUN \
|
||||||
|
go install github.com/magefile/mage@v1.15.0 \
|
||||||
|
&& go install github.com/securego/gosec/v2/cmd/gosec@v2.21.4 \
|
||||||
|
&& go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
|
||||||
|
|
||||||
ENTRYPOINT ["mage"]
|
ENTRYPOINT ["mage"]
|
||||||
|
|
Loading…
Reference in a new issue