File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM minio/mc:RELEASE.2020-07-17T02-52-20Z as mc
2-
31FROM alpine:3.12
42
53RUN adduser \
@@ -11,14 +9,14 @@ RUN adduser \
119
1210COPY . /
1311
14- COPY --from=mc /usr/bin/mc /usr/ bin/mc
15-
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 \
20- && passwd -u git \
21- && chmod +x /bin/create_bucket /bin/normalize_storage /docker-entrypoint.sh
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 \
15+ && mkdir -p /var/run/sshd \
16+ && rm -rf /etc/ssh/ssh_host* \
17+ && mkdir /apps \
18+ && passwd -u git \
19+ && chmod +x /bin/create_bucket /bin/normalize_storage /docker-entrypoint.sh
2220
2321ENTRYPOINT ["/docker-entrypoint.sh" ]
2422
You can’t perform that action at this time.
0 commit comments