-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for oraclelinux9 and ubuntu24.04 MONGOSH-1785 (#2003)
- Loading branch information
Showing
4 changed files
with
89 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM oraclelinux:9 | ||
|
||
ARG artifact_url="" | ||
ADD ${artifact_url} /tmp | ||
ADD node_modules /usr/share/mongodb-crypt-library-version/node_modules | ||
RUN yum repolist | ||
RUN yum install -y man | ||
RUN yum install -y /tmp/*mongosh*.rpm | ||
RUN /usr/bin/mongosh --build-info | ||
RUN env MONGOSH_RUN_NODE_SCRIPT=1 mongosh /usr/share/mongodb-crypt-library-version/node_modules/.bin/mongodb-crypt-library-version /usr/lib64/mongosh_crypt_v1.so | grep -Eq '^mongo_(crypt|csfle)_v1-' | ||
ENTRYPOINT [ "mongosh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ubuntu:24.04 | ||
|
||
ARG artifact_url="" | ||
ADD ${artifact_url} /tmp | ||
ADD node_modules /usr/share/mongodb-crypt-library-version/node_modules | ||
RUN apt-get update | ||
RUN yes | unminimize | ||
RUN apt-get install -y man-db | ||
RUN apt-get install -y /tmp/*mongosh*.deb | ||
RUN /usr/bin/mongosh --build-info | ||
RUN env MONGOSH_RUN_NODE_SCRIPT=1 mongosh /usr/share/mongodb-crypt-library-version/node_modules/.bin/mongodb-crypt-library-version /usr/lib/mongosh_crypt_v1.so | grep -Eq '^mongo_(crypt|csfle)_v1-' | ||
RUN man mongosh | grep -q tlsAllowInvalidCertificates | ||
ENTRYPOINT [ "mongosh" ] |