Main goal of the pr is to set MongoDB version and download folder instead of latest version of MongoDB and home directory to download to use through bin commands.
Environment variables to set mongodb download parameters:
MONGODB_VERSIONMONGODB_DOWNLOADDIRMONGODB_ARCHMONGODB_PLATFORM
Main goal of the pr is to set MongoDB version and download folder instead of latest version of MongoDB and home directory to download to use through bin commands.
Environment variables to set mongodb download parameters:
MONGODB_VERSION
MONGODB_DOWNLOADDIR
MONGODB_ARCH
MONGODB_PLATFORM
Example
export mongodb_downloadDir='./' mongodb_version=3.4.10 && mongod --port 27018 --dbpath ./.mongodb/data --logpath /dev/stdout