Skip to content

Commit

Permalink
Merge pull request #5165 from felder/felder_dh160
Browse files Browse the repository at this point in the history
[DH-160] install mongosh
  • Loading branch information
felder authored Oct 24, 2023
2 parents 317986a + e30073a commit 8c6faa0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deployments/data101/image/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -eux

# install mongosh for DH-160

mkdir -p /tmp/mongosh
cd /tmp/mongosh
wget https://downloads.mongodb.com/compass/mongosh-2.0.2-linux-x64.tgz
tar xvfz mongosh-2.0.2-linux-x64.tgz
cp -v mongosh-2.0.2-linux-x64/bin/mongosh ${CONDA_DIR}/bin/
cp -v mongosh-2.0.2-linux-x64/bin/mongosh_crypt_v1.so ${CONDA_DIR}/lib/
chmod 775 ${CONDA_DIR}/bin/mongosh
chmod 775 ${CONDA_DIR}/lib/mongosh_crypt_v1.so
cd /
rm -rf /tmp/mongosh

0 comments on commit 8c6faa0

Please sign in to comment.