11 lines
397 B
Docker
11 lines
397 B
Docker
FROM golang:1.23.6@sha256:b2a6f50140dcd176e41f0033fcd0fbe0a3ac300fcbde75eaaef76e832cb02496
|
|
|
|
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
|