From c844a7ac47a59cbfacad790ea5c5dbca761d5974 Mon Sep 17 00:00:00 2001 From: Deron Smith Date: Thu, 1 Aug 2024 08:28:59 -0400 Subject: [PATCH] update mongodb version --- hms_mongo/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hms_mongo/Dockerfile b/hms_mongo/Dockerfile index d36afeb..fd83b2d 100644 --- a/hms_mongo/Dockerfile +++ b/hms_mongo/Dockerfile @@ -5,7 +5,8 @@ -FROM ubuntu:23.10 +FROM ubuntu:24.10 +ENV MONGO_VERSION=6.0.16 RUN apt-get update && apt-get install -y gnupg curl @@ -17,11 +18,11 @@ RUN echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6. RUN apt-get update && \ apt-get install -y \ - mongodb-org=6.0.8 \ - mongodb-org-database=6.0.8 \ - mongodb-org-server=6.0.8 \ - mongodb-org-mongos=6.0.8 \ - mongodb-org-tools=6.0.8 + mongodb-org=${MONGO_VERSION} \ + mongodb-org-database=${MONGO_VERSION} \ + mongodb-org-server=${MONGO_VERSION} \ + mongodb-org-mongos=${MONGO_VERSION} \ + mongodb-org-tools=${MONGO_VERSION} RUN mkdir -p /data/db