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:
committed by
Harshavardhana
parent
2d44e8c85e
commit
ea05fcbcf5
@@ -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"]
|
||||
@@ -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"]
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user