FROM alpine:3.10 COPY mc /usr/bin/ RUN \ apk add --no-cache ca-certificates && \ echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf \ chmod +x /usr/bin/mc ENTRYPOINT ["mc"]