mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-03 19:00:42 +02:00
add checkup
Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
parent
a884e9d813
commit
ccadc2453a
30
checkup/Dockerfile
Normal file
30
checkup/Dockerfile
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
FROM alpine
|
||||||
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
|
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||||
|
ENV GOPATH /go
|
||||||
|
ENV GO15VENDOREXPERIMENT 1
|
||||||
|
|
||||||
|
RUN apk update && apk add \
|
||||||
|
ca-certificates \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
RUN buildDeps=' \
|
||||||
|
go \
|
||||||
|
git \
|
||||||
|
gcc \
|
||||||
|
libc-dev \
|
||||||
|
libgcc \
|
||||||
|
' \
|
||||||
|
set -x \
|
||||||
|
&& apk update \
|
||||||
|
&& apk add --no-cache $buildDeps \
|
||||||
|
&& go get github.com/sourcegraph/checkup/cmd/checkup \
|
||||||
|
&& cp /go/bin/checkup /usr/bin/checkup \
|
||||||
|
&& apk del $buildDeps \
|
||||||
|
&& rm -rf /var/cache/apk/* \
|
||||||
|
&& rm -rf /go \
|
||||||
|
&& echo "Build complete."
|
||||||
|
|
||||||
|
|
||||||
|
ENTRYPOINT [ "checkup" ]
|
Loading…
x
Reference in New Issue
Block a user