Skip to content

Commit

Permalink
upgrade base versions of key OS dependencies:
Browse files Browse the repository at this point in the history
   ubuntu:  22.0.4 (jammy)
   python:   3.10
   mongodb:  7.0
  • Loading branch information
RayPlante committed Jun 22, 2024
1 parent a056b47 commit be57f55
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/pymongo/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
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

Expand Down

0 comments on commit be57f55

Please sign in to comment.