cloudflare/pint
Publicmirrored from https://github.com/cloudflare/pintAvailable
Dockerfile
13lines · modecode
| 1 | FROM golang:1.26.4-alpine@sha256:f23e8b227fb4493eabe03bede4d5a32d04092da71962f1fb79b5f7d1e6c2a17f |
| 2 | COPY . /src |
| 3 | WORKDIR /src |
| 4 | RUN apk add make git |
| 5 | RUN make |
| 6 | |
| 7 | FROM debian:stable-20260610@sha256:fa0ca9c113cbc97c1e2eb40d7012b43bdfb70abe4218229c366de911c5b32cd2 |
| 8 | RUN apt-get update --yes && \ |
| 9 | apt-get install --no-install-recommends --yes git ca-certificates && \ |
| 10 | rm -rf /var/lib/apt/lists/* |
| 11 | COPY --from=0 /src/pint /usr/local/bin/pint |
| 12 | WORKDIR /code |
| 13 | CMD ["/usr/local/bin/pint"] |
| 14 | |