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

Install mailcap instead of maintaining mime.types

This commit is contained in:
Thomas Boerger 2016-01-26 17:26:07 +01:00
parent 1f193ae580
commit bcb0cbc6f6
2 changed files with 8 additions and 1592 deletions

View File

@ -3,9 +3,13 @@
# CGO_ENABLED=0 go build -a -tags netgo # CGO_ENABLED=0 go build -a -tags netgo
# docker build --rm=true -t plugins/drone-s3-sync . # docker build --rm=true -t plugins/drone-s3-sync .
FROM gliderlabs/alpine:3.1 FROM alpine:3.1
RUN apk add --update \
ca-certificates RUN apk update && \
apk add \
ca-certificates \
mailcap && \
rm -rf /var/cache/apk/*
ADD drone-s3-sync /bin/ ADD drone-s3-sync /bin/
ADD mime.types /etc/
ENTRYPOINT ["/bin/drone-s3-sync"] ENTRYPOINT ["/bin/drone-s3-sync"]

1588
mime.types

File diff suppressed because it is too large Load Diff