11 lines
397 B
Docker
11 lines
397 B
Docker
FROM golang:1.23.4@sha256:5305905078d6c33f427b4c7dc483e1bb4bef2991ca95f4ac2e830cb1f0a717fe
|
|
|
|
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
|