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 ad250e0e11 fix(docker): update golang base image to amd64 version
Update the Dockerfile to use the amd64 architecture for the 
Golang base image. This ensures compatibility and improves 
stability when building the application in a multi-architecture 
environment.
2025-02-25 21:30:58 +01:00

11 lines
403 B
Docker

FROM amd64/golang:1.24.0@sha256:4a3f1013f696a1f86314902f2c9907fe712eabc91e911cc9fde4fdc57a16d35d
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