Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add minio mc multi-version #129

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12,288 changes: 12,288 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-alpine3.21/CREDITS

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-alpine3.21/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

FROM lcr.loongnix.cn/library/alpine:3.21.0 AS build

RUN apk add ca-certificates wget

RUN wget https://github.com/Loongson-Cloud-Community/mc/releases/download/RELEASE.2023-12-20T07-14-22Z/mc-abi2.0.RELEASE.2023-12-20T07-14-22Z -O /usr/bin/mc && chmod +x /usr/bin/mc

FROM lcr.loongnix.cn/library/alpine:3.21.0

# On Alpine the certificate bundle is located at:
# - /etc/ssl/certs/ca-certificates.crt
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

COPY CREDITS /licenses/CREDITS
COPY LICENSE /licenses/LICENSE

COPY --from=build /usr/bin/mc /usr/bin/

RUN mc --version


ENTRYPOINT ["mc"]


661 changes: 661 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-alpine3.21/LICENSE

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-alpine3.21/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file is generated by the template.

REGISTRY ?=lcr.loongnix.cn
ORGANIZATION ?=minio
REPOSITORY ?=mc
TAG ?=RELEASE.2023-12-20T07-14-22Z-alpine3.21
LATEST ?=true

IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG)
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest

default: image

image:
docker build \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
-t $(IMAGE) \
.

push:
docker push $(IMAGE)
#latest image
@if [ $(LATEST) = "true" ]; \
then \
docker tag $(IMAGE) $(LATEST_IMAGE); \
docker push $(LATEST_IMAGE); \
fi
12,288 changes: 12,288 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-sid/CREDITS

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-sid/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

FROM lcr.loongnix.cn/library/debian:sid AS build

RUN apt update && apt install ca-certificates wget -y

RUN wget https://github.com/Loongson-Cloud-Community/mc/releases/download/RELEASE.2023-12-20T07-14-22Z/mc-abi2.0.RELEASE.2023-12-20T07-14-22Z -O /usr/bin/mc && chmod +x /usr/bin/mc

FROM lcr.loongnix.cn/library/debian:sid

# On Debian the certificate bundle is located at:
# - /etc/ssl/certs/ca-certificates.crt
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

COPY CREDITS /licenses/CREDITS
COPY LICENSE /licenses/LICENSE

COPY --from=build /usr/bin/mc /usr/bin/

RUN mc --version


ENTRYPOINT ["mc"]


661 changes: 661 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-sid/LICENSE

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions minio/mc/RELEASE.2023-12-20T07-14-22Z-sid/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This file is generated by the template.

REGISTRY ?=lcr.loongnix.cn
ORGANIZATION ?=minio
REPOSITORY ?=mc
TAG ?=RELEASE.2023-12-20T07-14-22Z-sid
LATEST ?=true

IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG)
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest

default: image

image:
docker build \
--build-arg http_proxy=$(http_proxy) \
--build-arg https_proxy=$(https_proxy) \
-t $(IMAGE) \
.

push:
docker push $(IMAGE)
#latest image
@if [ $(LATEST) = "true" ]; \
then \
docker tag $(IMAGE) $(LATEST_IMAGE); \
docker push $(LATEST_IMAGE); \
fi
Loading
Loading