10 lines
337 B
Docker
10 lines
337 B
Docker
FROM alpine:3.7 as builder
|
|
RUN apk add -U curl
|
|
RUN curl -Lo checkup.tar.gz https://github.com/sourcegraph/checkup/releases/download/v0.2.0/checkup_linux_amd64.tar.gz
|
|
RUN tar -xzf checkup.tar.gz && rm checkup.tar.gz
|
|
|
|
FROM scratch as production
|
|
COPY --from=builder /checkup/checkup /usr/bin/checkup
|
|
WORKDIR /checkup
|
|
ENTRYPOINT ["checkup"]
|