From be57f55affaffa1ed605e38a41f37de548b1209b Mon Sep 17 00:00:00 2001 From: RayPlante Date: Sat, 22 Jun 2024 10:33:04 -0400 Subject: [PATCH] upgrade base versions of key OS dependencies: ubuntu: 22.0.4 (jammy) python: 3.10 mongodb: 7.0 --- docker/pymongo/Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/pymongo/Dockerfile b/docker/pymongo/Dockerfile index 55d269a..85a4568 100644 --- a/docker/pymongo/Dockerfile +++ b/docker/pymongo/Dockerfile @@ -1,14 +1,15 @@ # This provides the base support for Python 3.8 and MongoDB 4.4 -FROM mongo:4.4 +FROM mongo:7.0-jammy # VOLUME /data MAINTAINER Ray Plante COPY mongod.conf /etc/mongod.conf COPY mongod_ctl.sh /usr/local/bin -RUN apt-get update && apt-get install -y ca-certificates locales python3.8 python3-pip python3.8-dev -RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1; \ - update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1; \ +RUN apt-get update && apt-get install -y ca-certificates locales \ + python3 python3-pip python3-dev python-is-python3 +RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1; \ + update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3 1; \ update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 RUN locale-gen en_US.UTF-8