support goreleaser for mc (#3286)

This commit is contained in:
Harshavardhana
2020-07-05 18:37:43 -07:00
committed by GitHub
parent 5c713e5ecb
commit ba37e08f1f
13 changed files with 310 additions and 50 deletions
+3 -5
View File
@@ -1,10 +1,8 @@
FROM alpine:3.10
FROM alpine:3.12
COPY mc /usr/bin/
COPY CREDITS /
RUN \
apk add --no-cache ca-certificates && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \
chmod +x /usr/bin/mc
RUN apk add --no-cache ca-certificates
ENTRYPOINT ["mc"]