-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Update MongoDB Server compatibility matrix. #4796
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
Changes from all commits
05c5623
225015d
1aa8f9d
6093a9a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ARG BASE | ||
FROM ${BASE} | ||
# Any ARG statements before FROM are cleared. | ||
ARG MONGODB | ||
|
||
ENV TZ=Etc/UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV MONGO_VERSION=${MONGODB} | ||
|
||
RUN set -eux; \ | ||
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ | ||
sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \ | ||
sed -i -e 's/ports.ubuntu.com/mirrors.ocf.berkeley.edu/g' /etc/apt/sources.list && \ | ||
sed -i -e 's/http/https/g' /etc/apt/sources.list && \ | ||
apt-get update && apt-get install -y apt-transport-https apt-utils gnupg2 wget && \ | ||
# MongoDB 8.0 release signing key | ||
wget -qO - https://www.mongodb.org/static/pgp/server-8.0.asc | apt-key add - && \ | ||
# Needed when MongoDB creates a 8.0 folder. | ||
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/8.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-8.0.list && \ | ||
echo ${TZ} > /etc/timezone | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y mongodb-org=${MONGODB} mongodb-org-server=${MONGODB} mongodb-org-shell=${MONGODB} mongodb-org-mongos=${MONGODB} mongodb-org-tools=${MONGODB} && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ docker.mongodb.4.4.version=4.4.25 | |
docker.mongodb.5.0.version=5.0.21 | ||
docker.mongodb.6.0.version=6.0.10 | ||
docker.mongodb.7.0.version=7.0.2 | ||
docker.mongodb.8.0.version=8.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to introduce that property in https://github.com/spring-projects/spring-data-build/blob/main/ci/pipeline.properties as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, once this is approved, I'll add it to data-build. |
||
|
||
# Supported versions of Redis | ||
docker.redis.6.version=6.2.13 | ||
|
Uh oh!
There was an error while loading. Please reload this page.