Unified dockerfile to latest stable alpine

This commit is contained in:
Thomas Boerger 2016-07-31 19:12:22 +02:00
parent a9365db7d1
commit 3a4e772b40
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
1 changed files with 7 additions and 6 deletions

View File

@ -1,9 +1,10 @@
# Docker image for the Drone build runner
#
# CGO_ENABLED=0 go build -a -tags netgo
# docker build --rm=true -t plugins/drone-s3-sync .
FROM alpine:3.4
RUN apk update && \
apk add \
ca-certificates \
mailcap && \
rm -rf /var/cache/apk/*
FROM alpine:3.3
RUN apk update && apk add ca-certificates mailcap && rm -rf /var/cache/apk/*
ADD drone-s3-sync /bin/
ENTRYPOINT ["/bin/drone-s3-sync"]