diff --git a/deployments/data101/image/postBuild b/deployments/data101/image/postBuild new file mode 100755 index 000000000..5d833d06d --- /dev/null +++ b/deployments/data101/image/postBuild @@ -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