minio server simplified its build system, this change borrows the same technique to `mc` as well. This PR fixes build messages and overall behavior of our builds on travis and appveyor.
12 lines
307 B
Docker
12 lines
307 B
Docker
FROM alpine:3.7
|
|
|
|
MAINTAINER Minio Inc <dev@minio.io>
|
|
|
|
RUN \
|
|
apk add --no-cache ca-certificates && \
|
|
apk add --no-cache --virtual .build-deps curl && \
|
|
curl https://dl.minio.io/client/mc/release/linux-amd64/mc > /usr/bin/mc && \
|
|
chmod +x /usr/bin/mc && apk del .build-deps
|
|
|
|
ENTRYPOINT ["mc"]
|