diff --git a/mc/Dockerfile b/mc/Dockerfile index a80d973..b057c49 100644 --- a/mc/Dockerfile +++ b/mc/Dockerfile @@ -7,4 +7,7 @@ ADD mc /bin/mc ADD ./integration.sh /bin/integration.sh RUN chmod +x /bin/integration.sh +# this is so the minio client (https://github.com/minio/mc) works properly +ENV DOCKERIMAGE=1 + CMD mc diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index f674e4e..97d52cd 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -3,6 +3,8 @@ FROM ubuntu-debootstrap:14.04 ENV MINIOHOME /home/minio ENV MINIOUSER minio RUN useradd -m -d $MINIOHOME $MINIOUSER +# this is so the minio client (https://github.com/minio/mc) works properly +ENV DOCKERIMAGE=1 RUN apt-get update -y && apt-get install -y -q \ ca-certificates \