chore(deps): bump golang from 1.20 to 1.21
This commit was merged in pull request #6.
This commit is contained in:
+5
-3
@@ -1,9 +1,11 @@
|
|||||||
FROM golang:1.20
|
FROM golang:1.21
|
||||||
|
|
||||||
|
ENV PATH=${PATH}:/root/.local/bin
|
||||||
|
|
||||||
RUN apt update && \
|
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/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
go install github.com/lietu/go-pre-commit@latest && \
|
go install github.com/lietu/go-pre-commit@latest && \
|
||||||
go install golang.org/x/tools/cmd/goimports@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 && \
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user