We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3433f04 commit 6e3c5f8Copy full SHA for 6e3c5f8
1 file changed
rootfs/Dockerfile
@@ -1,3 +1,6 @@
1
+FROM minio/mc:latest as mc
2
+
3
4
FROM alpine:3.12
5
6
RUN adduser \
@@ -8,10 +11,9 @@ RUN adduser \
8
11
git
9
12
10
13
COPY . /
14
+COPY --from=mc /usr/bin/mc /bin/mc
15
-RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /bin/mc \
- && chmod +x /bin/mc \
- && 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 \
17
&& mkdir -p /var/run/sshd \
18
&& rm -rf /etc/ssh/ssh_host* \
19
&& mkdir /apps \
0 commit comments