Use official alpine image

This commit is contained in:
Thomas Boerger 2015-12-09 10:03:35 +01:00
parent 71068d6a1e
commit 5258d5319d
1 changed files with 10 additions and 4 deletions

View File

@ -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 .
FROM gliderlabs/alpine:3.2
RUN apk-install ca-certificates
FROM alpine:3.2
RUN apk update && \
apk add \
ca-certificates && \
rm -rf /var/cache/apk/*
ADD drone-webhook /bin/
ENTRYPOINT ["/bin/drone-webhook"]