Skip to content

Commit 209767b

Browse files
committed
fix(sre-6980): update mongo version check commands
1 parent 7fd79b4 commit 209767b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ echo Alerta WebUI ${WEBUI_VERSION}
8989

9090
nginx -v
9191
echo uwsgi $(uwsgi --version)
92-
mongo --version | grep MongoDB
92+
mongosh --version
9393
psql --version
9494
python3 --version
9595
/venv/bin/pip list

workable-Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor
6767
echo "deb [signed-by=/usr/share/keyrings/mongodb-archive-keyring.gpg] https://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list && \
6868
apt-get update && \
6969
apt-get install -y --no-install-recommends \
70-
mongodb-org-shell && \
70+
mongodb-mongosh && \
7171
apt-get -y clean && \
7272
apt-get -y autoremove && \
7373
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)