Use official alpine image
This commit is contained in:
parent
71068d6a1e
commit
5258d5319d
14
Dockerfile
14
Dockerfile
|
@ -1,9 +1,15 @@
|
||||||
# Docker image for Drone's webhook notification plugin
|
# Docker image for the Drone Webhook plugin
|
||||||
#
|
#
|
||||||
# CGO_ENABLED=0 go build -a -tags netgo
|
# cd $GOPATH/src/github.com/drone-plugins/drone-webhook
|
||||||
|
# make deps build
|
||||||
# docker build --rm=true -t plugins/drone-webhook .
|
# docker build --rm=true -t plugins/drone-webhook .
|
||||||
|
|
||||||
FROM gliderlabs/alpine:3.2
|
FROM alpine:3.2
|
||||||
RUN apk-install ca-certificates
|
|
||||||
|
RUN apk update && \
|
||||||
|
apk add \
|
||||||
|
ca-certificates && \
|
||||||
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
ADD drone-webhook /bin/
|
ADD drone-webhook /bin/
|
||||||
ENTRYPOINT ["/bin/drone-webhook"]
|
ENTRYPOINT ["/bin/drone-webhook"]
|
||||||
|
|
Loading…
Reference in New Issue