initial commit

This commit is contained in:
2020-07-29 16:01:00 +02:00
commit 21c2ec0f00
59 changed files with 1683 additions and 0 deletions

9
mc/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM debian:stable-20200720-slim
ARG TARGETARCH
ARG MC_VERSION
ADD https://dl.min.io/client/mc/release/linux-${TARGETARCH}/archive/mc.${MC_VERSION} /root/
RUN mv /root/mc.${MC_VERSION} /usr/bin/mc && chmod +x /usr/bin/mc
FROM scratch
COPY --from=0 /usr/bin/mc /mc
ENTRYPOINT ["/mc"]

13
mc/Makefile Normal file
View File

@ -0,0 +1,13 @@
include mc/mc.version
mc-nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg MC_VERSION=$(MC_VERSION) \
--tag alemairebe/mc:$(MC_VERSION) mc
mc:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
--build-arg MC_VERSION=$(MC_VERSION) \
--cache-from=type=registry,ref=alemairebe/mc \
--cache-to=type=registry,ref=alemairebe/mc \
--tag alemairebe/mc:$(MC_VERSION) mc

1
mc/mc.version Normal file
View File

@ -0,0 +1 @@
MC_VERSION=RELEASE.2020-07-17T02-52-20Z