This repository has been archived on 2026-03-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
pre-commit/Dockerfile
T

11 lines
403 B
Docker
Raw Permalink Normal View History

FROM amd64/golang:1.25.1@sha256:70de49a6a9bfd1bde2b332fde29d04a8cc65047464fa97ddb94251b05e572bc0
ENV PATH=${PATH}:/root/.local/bin
2023-01-13 10:40:51 +01:00
RUN apt update && \
apt install -y python3 python3-pip ruby ruby-dev git pipx && \
2023-01-13 10:40:51 +01:00
rm -rf /var/lib/apt/lists/* && \
go install github.com/lietu/go-pre-commit@latest && \
go install golang.org/x/tools/cmd/goimports@latest && \
pipx install pre-commit