Skip to content

feat: Add Docker argument for MongoDB version#1152

Closed
G-Ambatte wants to merge 2 commits into
5e-bits:mainfrom
G-Ambatte:addDockerArg
Closed

feat: Add Docker argument for MongoDB version#1152
G-Ambatte wants to merge 2 commits into
5e-bits:mainfrom
G-Ambatte:addDockerArg

Conversation

@G-Ambatte

@G-Ambatte G-Ambatte commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

What does this do?

This PR modifies the Dockerfile to allow it to take a parameter to select the MongoDB version that the image will be built from.

How was it tested?

Locally using Docker Desktop

Is there a Github issue this is resolving?

This resolves #605.

Did you update the docs in the API? Please link an associated PR if applicable.

The API is unaffected by this change; however I did update the README.md to describe the modified build command.

Here's a fun image for your troubles

image

@G-Ambatte G-Ambatte requested a review from bagelbits as a code owner June 3, 2026 11:20
@bagelbits

Copy link
Copy Markdown
Collaborator

I don't think this actually gives us anything, as you'd still need either:

  • rebuild locally, which is the current workaround
  • have the CI build this and the normal version, but that might cause the API to break for the older version of mongo

@bagelbits bagelbits closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MongoDB 5 Requires AVX Instruction Set to Boot

2 participants