-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from usnistgov/fix/mongo-support
Update docker to Ubuntu 22, Python 3.10, MongoDB 7.0. Additional testing to be done as part of oar-pdr-py.
- Loading branch information
Showing
13 changed files
with
34 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# This provides the base support for Python 3.10 and MongoDB 7.0 | ||
|
||
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters