From 9010f01ac9d68d4bdd11e7a70365532578e65df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Sand=C3=B8y?= Date: Sun, 29 Aug 2021 00:31:56 +0200 Subject: [PATCH] Get latest mongo from the mongodb website. Apparently, `mongo-tools` was removed from the apt repositories due to some security issue involving BRITNEY FILES, so I guess now we have to do this for a bit. --- docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e7400e2..21992fd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,8 +18,11 @@ RUN pip install -U pip \ ENV PATH="${PATH}:/root/.poetry/bin" # Install mongotools, used for getting mongo backups -# and redis-tools, used for redis backups. -RUN apt-get install -y mongo-tools redis-tools +RUN wget https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu2004-x86_64-100.5.0.deb -O mongo-tools.deb \ + && apt install -y ./mongo-tools.deb + +# Install redis-tools, used for redis backups. +RUN apt install -y redis-tools # Install the Postgres 13 client, needed for pg_dumpall # And MariaDB client for mysqldump