From 777ff377564c19519b052c23cb77c40f18ab9f01 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Wed, 9 Aug 2023 08:54:25 +0000 Subject: [PATCH] chore(deps): bump golang from 1.20 to 1.21 --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99dda85..f0e9eed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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