Skip to content

Commit c8eddc7

Browse files
committed
feat(registry): multi-platform support
1 parent 7cfdf4c commit c8eddc7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

rootfs/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
FROM minio/mc:latest as mc
2+
3+
14
FROM registry:2.7
25

36
COPY . /
7+
COPY --from=mc /usr/bin/mc /bin/mc
48

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 \
9+
RUN apk add --no-cache jq bash \
810
&& chmod +x /bin/create_bucket /bin/normalize_storage
911

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

0 commit comments

Comments
 (0)