drone-s3-sync/Dockerfile

20 lines
627 B
Docker
Raw Normal View History

2017-08-28 21:31:49 +00:00
FROM alpine:3.6 as alpine
RUN apk add -U --no-cache ca-certificates mailcap
2017-08-28 21:31:49 +00:00
FROM scratch
MAINTAINER Drone.IO Community <drone-dev@googlegroups.com>
2015-10-16 20:09:45 +00:00
2017-08-28 21:31:49 +00:00
ENV GODEBUG=netdns=go
COPY --from=alpine /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=alpine /etc/mime.types /etc/
LABEL org.label-schema.version=latest
LABEL org.label-schema.vcs-url="https://github.com/drone-plugins/drone-s3-sync.git"
LABEL org.label-schema.name="Drone S3 Sync"
LABEL org.label-schema.vendor="Drone.IO Community"
LABEL org.label-schema.schema-version="1.0"
ADD release/linux/amd64/drone-s3-sync /bin/
ENTRYPOINT [ "/bin/drone-s3-sync" ]