Skip to content

Alpine-based image #1946

Closed as not planned
Closed as not planned

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

Activity

  1. j178 commented on Apr 18, 2026

    @j178
    Owner

    Thanks, PR welcome!

  2. added a commit that references this issue on Jul 15, 2026
    dcfa91b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions