Skip to content

Commit 0500c82

Browse files
authored
Upgrade MongoDB from 6.0 to 8.0 in Dockerfile
1 parent 3ed3766 commit 0500c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile-core

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ RUN useradd -r -M -U -d /opt/countly -s /bin/false countly && \
4242
# node
4343
wget -qO- https://deb.nodesource.com/setup_20.x | bash - && \
4444
# data_migration (mongo clients)
45-
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - && \
46-
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list && \
45+
wget -qO - https://www.mongodb.org/static/pgp/server-8.0.asc | sudo apt-key add - && \
46+
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http://repo.mongodb.com/apt/ubuntu focal/mongodb-enterprise/8.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise-8.2.list
4747
apt-get update && \
4848
apt-get install -y nodejs mongodb-mongosh mongodb-org-tools && \
4949
\

0 commit comments

Comments
 (0)