From 1462033229bfa0ed4de4b3caef974be25ff98e0f Mon Sep 17 00:00:00 2001 From: Jan Antala Date: Thu, 24 Mar 2022 07:35:48 +0100 Subject: [PATCH] Update mongo and ubuntu version --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab9b2cd..eef41fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM ubuntu:bionic +FROM ubuntu:focal -ENV MONGODB_VERSION=4.2.3 +ENV MONGODB_VERSION=5.0.6 RUN apt-get update \ && apt-get install -y curl gnupg \ - && curl https://www.mongodb.org/static/pgp/server-4.2.asc -o - | apt-key add - \ - && echo 'deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse' > /etc/apt/sources.list.d/mongodb.list \ + && curl https://www.mongodb.org/static/pgp/server-5.0.asc -o - | apt-key add - \ + && echo 'deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 multiverse' > /etc/apt/sources.list.d/mongodb.list \ && apt-get update \ && apt-get install -y mongodb-org-tools=$MONGODB_VERSION s3cmd ca-certificates