support goreleaser for mc (#3286)

This commit is contained in:
Harshavardhana
2020-07-10 22:17:54 -07:00
parent 0fcd10d793
commit c40ab338a3
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"]