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