Skip to content

Commit 6e3c5f8

Browse files
committed
feat(builder): multi-platform support
1 parent 3433f04 commit 6e3c5f8

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,3 +1,6 @@
1+
FROM minio/mc:latest as mc
2+
3+
14
FROM alpine:3.12
25

36
RUN adduser \
@@ -8,10 +11,9 @@ RUN adduser \
811
git
912

1013
COPY . /
14+
COPY --from=mc /usr/bin/mc /bin/mc
1115

12-
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /bin/mc \
13-
&& chmod +x /bin/mc \
14-
&& apk add --update git sudo openssh-server coreutils tar xz jq bash \
16+
RUN apk add --update git sudo openssh-server coreutils tar xz jq bash \
1517
&& mkdir -p /var/run/sshd \
1618
&& rm -rf /etc/ssh/ssh_host* \
1719
&& mkdir /apps \

0 commit comments

Comments
 (0)