|
@ -14,13 +14,13 @@ RUN apk add -U --no-cache ca-certificates && \ |
|
|
# Download minio binary and signature files |
|
|
# Download minio binary and signature files |
|
|
RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \ |
|
|
RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \ |
|
|
curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.minisig -o /go/bin/minio.minisig && \ |
|
|
curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.minisig -o /go/bin/minio.minisig && \ |
|
|
curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.shasum256 -o /go/bin/minio.shasum256 && \ |
|
|
|
|
|
|
|
|
curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.sha256sum -o /go/bin/minio.sha256sum && \ |
|
|
chmod +x /go/bin/minio |
|
|
chmod +x /go/bin/minio |
|
|
|
|
|
|
|
|
# Download mc binary and signature files |
|
|
# Download mc binary and signature files |
|
|
RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /go/bin/mc && \ |
|
|
RUN curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc -o /go/bin/mc && \ |
|
|
curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.minisig -o /go/bin/mc.minisig && \ |
|
|
curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.minisig -o /go/bin/mc.minisig && \ |
|
|
curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.shasum256 -o /go/bin/mc.shasum256 && \ |
|
|
|
|
|
|
|
|
curl -s -q https://dl.min.io/client/mc/release/linux-${TARGETARCH}/mc.sha256sum -o /go/bin/mc.sha256sum && \ |
|
|
chmod +x /go/bin/mc |
|
|
chmod +x /go/bin/mc |
|
|
|
|
|
|
|
|
RUN if [ "$TARGETARCH" = "amd64" ]; then \ |
|
|
RUN if [ "$TARGETARCH" = "amd64" ]; then \ |
|
@ -56,10 +56,10 @@ ENV MINIO_ACCESS_KEY_FILE=access_key \ |
|
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ |
|
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ |
|
|
COPY --from=build /go/bin/minio /usr/bin/minio |
|
|
COPY --from=build /go/bin/minio /usr/bin/minio |
|
|
COPY --from=build /go/bin/minio.minisig /usr/bin/minio.minisig |
|
|
COPY --from=build /go/bin/minio.minisig /usr/bin/minio.minisig |
|
|
COPY --from=build /go/bin/minio.shasum256 /usr/bin/minio.shasum256 |
|
|
|
|
|
|
|
|
COPY --from=build /go/bin/minio.sha256sum /usr/bin/minio.sha256sum |
|
|
COPY --from=build /go/bin/mc /usr/bin/mc |
|
|
COPY --from=build /go/bin/mc /usr/bin/mc |
|
|
COPY --from=build /go/bin/mc.minisig /usr/bin/mc.minisig |
|
|
COPY --from=build /go/bin/mc.minisig /usr/bin/mc.minisig |
|
|
COPY --from=build /go/bin/mc.shasum256 /usr/bin/mc.shasum256 |
|
|
|
|
|
|
|
|
COPY --from=build /go/bin/mc.sha256sum /usr/bin/mc.sha256sum |
|
|
COPY --from=build /go/bin/cur* /usr/bin/ |
|
|
COPY --from=build /go/bin/cur* /usr/bin/ |
|
|
|
|
|
|
|
|
COPY CREDITS /licenses/CREDITS |
|
|
COPY CREDITS /licenses/CREDITS |
|
|