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