cloudflare/pint
Publicmirrored from https://github.com/cloudflare/pintAvailable
Dockerfile
13lines · modecode
| 1 | FROM golang:1.26.3-alpine@sha256:91eda9776261207ea25fd06b5b7fed8d397dd2c0a283e77f2ab6e91bfa71079d |
| 2 | COPY . /src |
| 3 | WORKDIR /src |
| 4 | RUN apk add make git |
| 5 | RUN make |
| 6 | |
| 7 | FROM debian:stable-20260505@sha256:23759e4f84483a4a2b312eb72e0aa68ad3526344fb2e7caa2eb64846b0d7e142 |
| 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 | |