{"id":14954559,"url":"https://github.com/meteor/mongodb-builder","last_synced_at":"2025-10-19T21:32:49.779Z","repository":{"id":53551840,"uuid":"210121787","full_name":"meteor/mongodb-builder","owner":"meteor","description":"Docker image for building MongoDB for Linux from source.","archived":false,"fork":false,"pushed_at":"2024-01-23T18:12:24.000Z","size":62382,"stargazers_count":12,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-27T19:19:10.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meteor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-22T09:29:27.000Z","updated_at":"2024-10-14T13:09:53.000Z","dependencies_parsed_at":"2024-09-24T13:04:15.294Z","dependency_job_id":null,"html_url":"https://github.com/meteor/mongodb-builder","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteor%2Fmongodb-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteor%2Fmongodb-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteor%2Fmongodb-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteor%2Fmongodb-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meteor","download_url":"https://codeload.github.com/meteor/mongodb-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237221176,"owners_count":19274447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:04:11.879Z","updated_at":"2025-10-19T21:32:44.426Z","avatar_url":"https://github.com/meteor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB Builder for Linux\n\nThis Docker image builds MongoDB for Linux from source without OpenSSL and cURL, similar to the generic Linux packages\nthat\nare [not provided anymore since MongoDB 4.2](https://www.mongodb.com/blog/post/a-proposal-to-endoflife-our-generic-linux-tar-packages).\n\n## Building the Image\n\n```sh\ndocker build -t mongodb-builder .\n```\n\n## Usage\n\nThe `run-builder.sh` script downloads the MongoDB source, builds `mongod` and `mongo`, and creates an\narchive (`mongodb-linux-x86_64-*.tgz`):\n\n```sh\n./run-builder.sh\n```\n\n### Side notes!\n\nUse an AWS big machine with some cores(need to update the j flag in ./run-builder.sh) and a lot of memory. I used a\nr3.4xlarge with 16 cores and 123GB of memory. It took about 1 hours to build.\n\nRemember to setup git and ssh keys on the machine you are building on. The build script will clone the mongodb repo and\nyou will need to be able to do that.\n\nat the end of the script it will open the /build/install/bin directory and you will see a mongod and mongo or mongos\nbinary, that is the one that you strip and ship. the two last lines of run-builder.sh will do that for you.\n\nHaving your tarball you should create a git tag:\n\n    ```sh\n    git tag -a v4.2.0 -m \"MongoDB 4.2.0\"\n    git push origin \u003ctag_name\u003e\n    ```\n\nNormally you will not commit your tarball to git. You have two options:\n\ncreate a branch and commit your tarball to that branch, create a PR and download the tarball from the PR and update the release tag.\n\nor you can send to an S3 and download it from there and update the tag with the tarball.\n\nIf you have a big enough machine you can do it in your local machine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeteor%2Fmongodb-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeteor%2Fmongodb-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeteor%2Fmongodb-builder/lists"}