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 .
|
||||
|
||||
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"]
|
||||
|
|
Loading…
Reference in New Issue