[SERVER-36790] Add build for Linux Alpine Created: 21/Aug/18 Updated: 03/Jul/23 Resolved: 10/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Pavel Chertorogov | Assignee: | Alex Ettouati |
| Resolution: | Won't Fix | Votes: | 13 |
| Labels: | platform-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Description |
|
Many developers want to use MongoDB under Linux Alpine image with easy setup/installation. Eg for testing purposes. For now Linux binaries https://www.mongodb.org/dl/linux does not have such ready to run binaries under Alpine. Will be great if you add such build. Related topics: |
| Comments |
| Comment by Alex Neben [ 10/May/23 ] | |||||||||||||||||
|
This should be addressed as part of the platform policy. Currently alpine linux is not on it. I need someone from product to tell me how important this is. Closing unless product wants to prioritize this. | |||||||||||||||||
| Comment by Rishabh Bisht [ 06/Apr/23 ] | |||||||||||||||||
|
Hi cristopher.stauffer@mongodb.com, do we know what's the status for this request? Is this on the near term roadmap? Thanks. | |||||||||||||||||
| Comment by Norman Schöeneich [ 18/Dec/19 ] | |||||||||||||||||
|
We also tried the new feature "Client-Side Field Level Encryption". First we are looking for an implementation of mongocryptd for alpine linux. But unfortunately we did not find any support for alpine. Lack of alpine linux support, we tried Debian. But neither version "Buster" nor previous stable version "Stretch" were ready for us, because they still contain numerous security issues / CVEs. So we +1 for alpine support. | |||||||||||||||||
| Comment by Brady Mitchell [ 05/Sep/19 ] | |||||||||||||||||
|
Any chance this may be done now that Alpine no longer maintains a package for mongodb? | |||||||||||||||||
| Comment by Pavel Chertorogov [ 26/Aug/18 ] | |||||||||||||||||
|
1) I say that docker is optional. Testing should work without it. 2) I'm using exactly this builds, but they do not contain Alpine builds. Can you add them there? It solves all problems. Thanks. | |||||||||||||||||
| Comment by Matt Lord (Inactive) [ 25/Aug/18 ] | |||||||||||||||||
|
Hi pavel.chertorogov@gmail.com,
Best Regards | |||||||||||||||||
| Comment by Pavel Chertorogov [ 25/Aug/18 ] | |||||||||||||||||
|
Hi, Matt. I'm providing OSS library for testing code which works with MongoDB on NodeJS. For now, https://github.com/nodkz/mongodb-memory-server is a recommended lib for parallel testing with Jest and AVA. It launches fresh mongod in memory on custom port for every test file, so tests may be run in parallel. Yep, it spends around several seconds for startup, but most users obtain 3x speed improvement with parallel testing all their tests. It perfectly works on Mac, Win, Ubuntu, Debian and some other *nix, also works on CI (with zero configs). For first run, it downloads tar with binaries, extract only `mongod` and put it in some user home directory. All further runs launch this binary. With such a simple scenario user or CI may not have installed mongo on the system, only what needs to do - just run tests and all "magic" happens under the hood. Developers may provide any version of MongoDB for their test. Even more, launch different versions of MongoDB simultaneously for one test file:
What I want to obtain:
| |||||||||||||||||
| Comment by Matt Lord (Inactive) [ 24/Aug/18 ] | |||||||||||||||||
|
Hi pavel.chertorogov@gmail.com, Did you have any particular problems with the MongoDB packages in the Alpine Linux repos: 3.6 and 4.0? I'm wondering if the pains/desires are related to:
One option is for MongoDB to make e.g. Alpine Linux 3.8 on x86_64 an officially supported platform. The more optimal path depends on the underlying pains we're trying to address here. Thank you for using MongoDB! |