From 9bc4ffc017cd395f1536add4cf70f792fe997135 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Tue, 14 Jun 2022 15:05:03 +0200 Subject: [PATCH] Add `mc` client to `web` container --- dockerfiles/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dockerfiles/Dockerfile b/dockerfiles/Dockerfile index 262f36d2d67..a8e45a457b6 100644 --- a/dockerfiles/Dockerfile +++ b/dockerfiles/Dockerfile @@ -31,6 +31,13 @@ RUN apt-get -y install \ telnet \ lsb-release +# Gets the MinIO mc client used to add buckets upon initialization +# If this client should have issues running inside this image, it is also +# fine to defer it to a separate image. +# The current minio/mc Docker image could be a lot smaller +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 && \ + chmod +x /usr/bin/mc + # Uncomment en_US.UTF-8 locale and generate it RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ locale-gen