- New Dockerfile will be used for mc release images. - Statically built binary is downloaded from dl.minio.io website and used in the docker image.
10 lines
270 B
Docker
10 lines
270 B
Docker
FROM alpine:3.5
|
|
|
|
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"]
|