dockerfiles/checkup/Dockerfile
Jess Frazelle ef3ead938e
checkup update
closes #414

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-14 15:31:15 -04:00

21 lines
414 B
Docker

FROM golang:alpine as builder
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk --no-cache add \
ca-certificates \
gcc \
git \
libc-dev
ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go
RUN go get github.com/sourcegraph/checkup/cmd/checkup
FROM alpine:latest
COPY --from=builder /go/bin/checkup /usr/bin/checkup
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
ENTRYPOINT [ "checkup" ]