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
2025-10-07 22:08:15 +00:00

11 lines
403 B
Docker

FROM amd64/golang:1.25.2@sha256:f1ad40af66e45084d5b2dcd74d25e77085c964e57356a2f77b0c15c121003f23
ENV PATH=${PATH}:/root/.local/bin
RUN apt update && \
apt install -y python3 python3-pip ruby ruby-dev 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 && \
pipx install pre-commit