Skip to content

Commit 729e542

Browse files
committed
Add mc client to web container
1 parent d506a33 commit 729e542

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dockerfiles/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ RUN apt-get -y install \
3030
telnet \
3131
lsb-release
3232

33+
# Gets the MinIO mc client used to add buckets upon initialization
34+
# If this client should have issues running inside this image, it is also
35+
# fine to defer it to a separate image.
36+
# The current minio/mc Docker image could be a lot smaller
37+
RUN curl -s -q https://dl.min.io/client/mc/release/linux-amd64/archive/mc.RELEASE.2022-06-11T21-10-36Z -o /usr/bin/mc && \
38+
chmod +x /usr/bin/mc
39+
3340
# Uncomment en_US.UTF-8 locale and generate it
3441
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
3542
locale-gen

0 commit comments

Comments
 (0)