-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
2d44e8c
commit ea05fcb
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |