chore(deps): bump golang from 1.20 to 1.21

This commit was merged in pull request #6.
This commit is contained in:
2023-08-09 08:54:25 +00:00
parent 9c9c134476
commit 777ff37756
+5 -3
View File
@@ -1,9 +1,11 @@
FROM golang:1.20
FROM golang:1.21
ENV PATH=${PATH}:/root/.local/bin
RUN apt update && \
apt install -y python3 python3-pip ruby git && \
apt install -y python3 python3-pip ruby git pipx && \
rm -rf /var/lib/apt/lists/* && \
go install github.com/lietu/go-pre-commit@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2 && \
pip install pre-commit
pipx install pre-commit