Skip to content

Commit

Permalink
Add Docker release files for mc (#2182)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
nitisht authored and harshavardhana committed Jun 15, 2017
1 parent 2d44e8c commit ea05fcb
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -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 changes: 9 additions & 0 deletions Dockerfile.release.aarch64
Original file line number Diff line number Diff line change
@@ -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 changes: 9 additions & 0 deletions Dockerfile.release.armhf
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit ea05fcb

Please sign in to comment.