Skip to content

Commit 3abc580

Browse files
committed
chore(minio): use bin mc replace docker images
1 parent e5ed48e commit 3abc580

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

rootfs/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
FROM minio/mc:RELEASE.2020-07-17T02-52-20Z as mc
2-
31
FROM registry:2.7
42

53
COPY . /
64

7-
COPY --from=mc /usr/bin/mc /usr/bin/mc
8-
9-
RUN apk add --no-cache jq bash \
5+
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /bin/mc \
6+
&& chmod +x /bin/mc \
7+
&& apk add --no-cache jq bash \
108
&& chmod +x /bin/create_bucket /bin/normalize_storage
119

1210
VOLUME ["/var/lib/registry"]

0 commit comments

Comments
 (0)