This repository has been archived on 2026-04-21. 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
397 B
Docker
Raw Normal View History

FROM golang:1.23.4@sha256:70031844b8c225351d0bb63e2c383f80db85d92ba894e3da7e13bcf80efa9a37
2023-08-09 08:54:25 +00:00
ENV PATH=${PATH}:/root/.local/bin
2023-01-13 10:40:51 +01:00
RUN apt update && \
2024-05-20 06:55:27 +02:00
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 && \
2023-08-09 08:54:25 +00:00
pipx install pre-commit