Add Docker release files for mc (#2182)

- 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.
This commit is contained in:
Nitish Tiwari
2017-06-14 20:01:32 -07:00
committed by Harshavardhana
parent 2d44e8c85e
commit ea05fcbcf5
3 changed files with 27 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
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"]
+9
View File
@@ -0,0 +1,9 @@
FROM resin/aarch64-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-arm64/mc > /usr/bin/mc && \
chmod +x /usr/bin/mc && apk del .build-deps
ENTRYPOINT ["mc"]
+9
View File
@@ -0,0 +1,9 @@
FROM resin/armhf-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-arm/mc > /usr/bin/mc && \
chmod +x /usr/bin/mc && apk del .build-deps
ENTRYPOINT ["mc"]