-
Notifications
You must be signed in to change notification settings - Fork 25
Release MCK 1.5.0 #517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release MCK 1.5.0 #517
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
82 changes: 82 additions & 0 deletions
82
public/dockerfiles/mongodb-enterprise-ops-manager/8.0.14/ubi/Dockerfile
This file contains hidden or 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,82 @@ | ||
| ARG imagebase | ||
| FROM ${imagebase} as base | ||
|
|
||
| FROM registry.access.redhat.com/ubi9/ubi-minimal | ||
|
|
||
|
|
||
| LABEL name="MongoDB Enterprise Ops Manager" \ | ||
| maintainer="support@mongodb.com" \ | ||
| vendor="MongoDB" \ | ||
| version="8.0.14" \ | ||
| release="1" \ | ||
| summary="MongoDB Enterprise Ops Manager Image" \ | ||
| description="MongoDB Enterprise Ops Manager" | ||
|
|
||
|
|
||
| ENV MMS_HOME /mongodb-ops-manager | ||
| ENV MMS_PROP_FILE ${MMS_HOME}/conf/conf-mms.properties | ||
| ENV MMS_CONF_FILE ${MMS_HOME}/conf/mms.conf | ||
| ENV MMS_LOG_DIR ${MMS_HOME}/logs | ||
| ENV MMS_TMP_DIR ${MMS_HOME}/tmp | ||
|
|
||
| EXPOSE 8080 | ||
|
|
||
| # OpsManager docker image needs to have the MongoDB dependencies because the | ||
| # backup daemon is running its database locally | ||
|
|
||
|
|
||
| # Replace libcurl-minimal and curl-minimal with the full versions | ||
| # https://bugzilla.redhat.com/show_bug.cgi?id=1994521 | ||
| RUN microdnf install -y libssh libpsl libbrotli \ | ||
| && microdnf download curl libcurl \ | ||
| && rpm -Uvh --nodeps --replacefiles "*curl*$( uname -i ).rpm" \ | ||
| && microdnf remove -y libcurl-minimal curl-minimal | ||
|
|
||
| RUN microdnf install --disableplugin=subscription-manager -y \ | ||
| cyrus-sasl \ | ||
| cyrus-sasl-gssapi \ | ||
| cyrus-sasl-plain \ | ||
| krb5-libs \ | ||
| libpcap \ | ||
| lm_sensors-libs \ | ||
| net-snmp \ | ||
| net-snmp-agent-libs \ | ||
| openldap \ | ||
| openssl \ | ||
| tar \ | ||
| rpm-libs \ | ||
| net-tools \ | ||
| procps-ng \ | ||
| ncurses | ||
|
|
||
|
|
||
| COPY --from=base /data/licenses /licenses/ | ||
|
|
||
| COPY --from=base /data/scripts /opt/scripts | ||
|
|
||
|
|
||
|
|
||
| RUN curl --fail -L -o ops_manager.tar.gz https://downloads.mongodb.com/on-prem-mms/tar/mongodb-mms-8.0.14.500.20250915T2014Z.tar.gz \ | ||
| && tar -xzf ops_manager.tar.gz \ | ||
| && rm ops_manager.tar.gz \ | ||
| && mv mongodb-mms* "${MMS_HOME}" | ||
|
|
||
|
|
||
| # permissions | ||
| RUN chmod -R 0777 "${MMS_LOG_DIR}" \ | ||
| && chmod -R 0777 "${MMS_TMP_DIR}" \ | ||
| && chmod -R 0775 "${MMS_HOME}/conf" \ | ||
| && chmod -R 0775 "${MMS_HOME}/jdk" \ | ||
| && mkdir "${MMS_HOME}/mongodb-releases/" \ | ||
| && chmod -R 0775 "${MMS_HOME}/mongodb-releases" \ | ||
| && chmod -R 0777 "${MMS_CONF_FILE}" \ | ||
| && chmod -R 0777 "${MMS_PROP_FILE}" | ||
|
|
||
| # The "${MMS_HOME}/conf" will be populated by the docker-entry-point.sh. | ||
| # For now we need to move into the templates directory. | ||
| RUN cp -r "${MMS_HOME}/conf" "${MMS_HOME}/conf-template" | ||
|
|
||
| USER 2000 | ||
|
|
||
| # operator to change the entrypoint to: /mongodb-ops-manager/bin/mongodb-mms start_mms (or a wrapper around this) | ||
| ENTRYPOINT [ "sleep infinity" ] |
71 changes: 71 additions & 0 deletions
71
public/dockerfiles/mongodb-kubernetes-database/1.5.0/ubi/Dockerfile
This file contains hidden or 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,71 @@ | ||
| FROM scratch AS base | ||
|
|
||
| COPY ./docker/mongodb-kubernetes-database/LICENSE /data/licenses/mongodb-kubernetes-database | ||
|
|
||
| FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
|
|
||
| ENV MMS_HOME=/mongodb-automation | ||
| ENV MMS_LOG_DIR=/var/log/mongodb-mms-automation | ||
|
|
||
| RUN microdnf update -y && rm -rf /var/cache/yum | ||
|
|
||
| # these are the packages needed for the agent | ||
| RUN microdnf install -y --disableplugin=subscription-manager --setopt=install_weak_deps=0 nss_wrapper | ||
| RUN microdnf install -y --disableplugin=subscription-manager \ | ||
| hostname \ | ||
| procps | ||
|
|
||
| # these are the packages needed for MongoDB | ||
| # (https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat-tarball/ "RHEL/CentOS 8" tab) | ||
| RUN microdnf install -y --disableplugin=subscription-manager \ | ||
| cyrus-sasl \ | ||
| cyrus-sasl-gssapi \ | ||
| cyrus-sasl-plain \ | ||
| krb5-libs \ | ||
| libcurl \ | ||
| lm_sensors-libs \ | ||
| net-snmp \ | ||
| net-snmp-agent-libs \ | ||
| openldap \ | ||
| openssl \ | ||
| jq \ | ||
| tar \ | ||
| xz-libs \ | ||
| findutils | ||
|
|
||
| RUN ln -s /usr/lib64/libsasl2.so.3 /usr/lib64/libsasl2.so.2 | ||
|
|
||
| # Set the required perms | ||
| RUN mkdir -p "${MMS_LOG_DIR}" \ | ||
| && chmod 0775 "${MMS_LOG_DIR}" \ | ||
| && mkdir -p /var/lib/mongodb-mms-automation \ | ||
| && chmod 0775 /var/lib/mongodb-mms-automation \ | ||
| && mkdir -p /data \ | ||
| && chmod 0775 /data \ | ||
| && mkdir -p /journal \ | ||
| && chmod 0775 /journal \ | ||
| && mkdir -p "${MMS_HOME}" \ | ||
| && chmod -R 0775 "${MMS_HOME}" | ||
|
|
||
| ARG version | ||
|
|
||
| LABEL name="MongoDB Kubernetes Database" \ | ||
| version="${version}" \ | ||
| summary="MongoDB Kubernetes Database Image" \ | ||
| description="MongoDB Kubernetes Database Image" \ | ||
| vendor="MongoDB" \ | ||
| release="1" \ | ||
| maintainer="support@mongodb.com" | ||
|
|
||
| # USER needs to be set for this image to pass RedHat verification. Some customers have these requirements as well | ||
| # It does not matter what number it is, as long as it is set to something. | ||
| # However, OpenShift will run the container as a random user, | ||
| # and the number in this configuration is not relevant. | ||
| USER 2000 | ||
|
|
||
| # The docker image doesn't have any scripts so by default does nothing | ||
| # The script will be copied in runtime from init containers and the operator is expected | ||
| # to override the COMMAND | ||
| ENTRYPOINT ["sleep infinity"] | ||
|
|
||
| COPY --from=base /data/licenses/mongodb-kubernetes-database /licenses/mongodb-kubernetes-database |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.