fix: update Dockerfile

- Upgrade Go to v1.23.2
- Install gosec
- Install staticcheck
This commit is contained in:
Dan Anglin 2024-10-13 11:34:35 +01:00
parent 968255a5b2
commit 2e710ad3fe
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -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"]