Skip to content

Commit 840180a

Browse files
Update to 4.2.11
1 parent 8afebb1 commit 840180a

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

4.2/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,23 @@ ARG MONGO_REPO=repo.mongodb.org
7979
ENV MONGO_PACKAGE=${MONGO_PACKAGE} MONGO_REPO=${MONGO_REPO}
8080

8181
ENV MONGO_MAJOR 4.2
82-
ENV MONGO_VERSION 4.2.10
82+
ENV MONGO_VERSION 4.2.11
8383
# bashbrew-architectures:amd64 arm64v8
8484
RUN echo "deb http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
8585

8686
RUN set -x \
8787
# installing "mongodb-enterprise" pulls in "tzdata" which prompts for input
8888
&& export DEBIAN_FRONTEND=noninteractive \
8989
&& apt-get update \
90+
# starting with MongoDB 4.3, the postinst for server includes "systemctl daemon-reload" (and we don't have "systemctl")
91+
&& ln -s /bin/true /usr/local/bin/systemctl \
9092
&& apt-get install -y \
9193
${MONGO_PACKAGE}=$MONGO_VERSION \
9294
${MONGO_PACKAGE}-server=$MONGO_VERSION \
9395
${MONGO_PACKAGE}-shell=$MONGO_VERSION \
9496
${MONGO_PACKAGE}-mongos=$MONGO_VERSION \
9597
${MONGO_PACKAGE}-tools=$MONGO_VERSION \
98+
&& rm -f /usr/local/bin/systemctl \
9699
&& rm -rf /var/lib/apt/lists/* \
97100
&& rm -rf /var/lib/mongodb \
98101
&& mv /etc/mongod.conf /etc/mongod.conf.orig

4.2/windows/windowsservercore-1809/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
22

33
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
44

5-
ENV MONGO_VERSION 4.2.10
6-
ENV MONGO_DOWNLOAD_URL https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.10-signed.msi
7-
ENV MONGO_DOWNLOAD_SHA256=73bd155ae0a073acda0c4737b40733f5d84afcfbc985a6e61736076e0ef768a2
5+
ENV MONGO_VERSION 4.2.11
6+
ENV MONGO_DOWNLOAD_URL https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.11-signed.msi
7+
ENV MONGO_DOWNLOAD_SHA256=e8f60257d6f556225e085a8e5d0e33d78f16aaf97d421e4e565a7e96dd07d1ef
88

99
RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
1010
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \

4.2/windows/windowsservercore-ltsc2016/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016
22

33
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
44

5-
ENV MONGO_VERSION 4.2.10
6-
ENV MONGO_DOWNLOAD_URL https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.10-signed.msi
7-
ENV MONGO_DOWNLOAD_SHA256=73bd155ae0a073acda0c4737b40733f5d84afcfbc985a6e61736076e0ef768a2
5+
ENV MONGO_VERSION 4.2.11
6+
ENV MONGO_DOWNLOAD_URL https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.11-signed.msi
7+
ENV MONGO_DOWNLOAD_SHA256=e8f60257d6f556225e085a8e5d0e33d78f16aaf97d421e4e565a7e96dd07d1ef
88

99
RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
1010
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \

0 commit comments

Comments
 (0)