Skip to content

Commit

Permalink
[DH-160] install mongosh
Browse files Browse the repository at this point in the history
  • Loading branch information
felder committed Oct 24, 2023
1 parent 317986a commit 7937196
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions deployments/data101/image/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/bash
set -e

# install mongosh for DH-160

sudo apt-get install -y gnupg curl

curl -fsSL https://pgp.mongodb.com/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
--dearmor

echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list

sudo apt-get update

sudo apt-get install -y mongodb-mongosh mongodb-org-tools

0 comments on commit 7937196

Please sign in to comment.