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 d3a799e614 fix: update libffi package in Dockerfile installation
Update the Dockerfile to install the correct version of the libffi package 
from libffi8 to libffi-dev. This change resolves compatibility issues during 
the build process and ensures that all necessary dependencies for the 
Docker image are correctly configured.
2025-12-03 08:14:46 +01:00

11 lines
414 B
Docker

FROM amd64/golang:1.25.5@sha256:ff44d519dbd3f622224d3433f319ae0b046abe081dda5b3d3c3db04a712e1898
ENV PATH=${PATH}:/root/.local/bin
RUN apt update && \
apt install -y python3 python3-pip ruby ruby-dev git pipx libffi-dev && \
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