Skip to content

Alpine-based image #1946

@pat-s

Description

@pat-s

Hey,

Thanks for the project - great to have a fast pre-commit implementation!

First: I am aware of https://prek.j178.dev/integrations/#docker.
Besides the scratch image, it would be great if there would be a pre-built Alpine based image with the core libraries available which are required for the most common hooks.

This would save us a few pipelines on each pipeline (which sums up over time). And it would prevent us (and others) from having to built a custom image for ourselves, wasting resources (in contrast to having a global image available from the project).

We currently run our CI as follows (using alpine:3.23). A image with these syslibs preinstalled (and the most recent version of prek obv) would be super nice to have. Happy to make PR...

apk add -q --no-cache curl git nodejs npm python3 py3-pip >/dev/null 2>&1
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/j178/prek/releases/download/$$PREK_VERSION/prek-installer.sh | sh -s -- -q
$HOME/.local/bin/prek run -a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions