mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-25 00:10:39 +00:00
20 lines
627 B
Docker
20 lines
627 B
Docker
FROM alpine:3.6 as alpine
|
|
RUN apk add -U --no-cache ca-certificates mailcap
|
|
|
|
FROM scratch
|
|
MAINTAINER Drone.IO Community <drone-dev@googlegroups.com>
|
|
|
|
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" ]
|