11 lines
403 B
Docker
11 lines
403 B
Docker
FROM amd64/golang:1.24.3@sha256:f169469d1e8328fd0e26a2b5156f670922a2afc0ca8c984ec17e1be51ca94c30
|
|
|
|
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
|