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
argoyle efc55dbb58 ci: add ruby-dev to Dockerfile
Install ruby-dev package to allow native extension compilation in the container.
2024-05-20 06:55:27 +02:00

12 lines
463 B
Docker

FROM golang:1.22.3
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 && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2 && \
pipx install pre-commit