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