0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-25 00:10:39 +00:00

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

View File

@ -1,9 +1,10 @@
# Docker image for the Drone build runner FROM alpine:3.4
#
# CGO_ENABLED=0 go build -a -tags netgo RUN apk update && \
# docker build --rm=true -t plugins/drone-s3-sync . 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/ ADD drone-s3-sync /bin/
ENTRYPOINT ["/bin/drone-s3-sync"] ENTRYPOINT ["/bin/drone-s3-sync"]