File tree 3 files changed +10
-7
lines changed
windowsservercore-ltsc2016
3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -79,20 +79,23 @@ ARG MONGO_REPO=repo.mongodb.org
79
79
ENV MONGO_PACKAGE=${MONGO_PACKAGE} MONGO_REPO=${MONGO_REPO}
80
80
81
81
ENV MONGO_MAJOR 4.2
82
- ENV MONGO_VERSION 4.2.10
82
+ ENV MONGO_VERSION 4.2.11
83
83
# bashbrew-architectures:amd64 arm64v8
84
84
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"
85
85
86
86
RUN set -x \
87
87
# installing "mongodb-enterprise" pulls in "tzdata" which prompts for input
88
88
&& export DEBIAN_FRONTEND=noninteractive \
89
89
&& 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 \
90
92
&& apt-get install -y \
91
93
${MONGO_PACKAGE}=$MONGO_VERSION \
92
94
${MONGO_PACKAGE}-server=$MONGO_VERSION \
93
95
${MONGO_PACKAGE}-shell=$MONGO_VERSION \
94
96
${MONGO_PACKAGE}-mongos=$MONGO_VERSION \
95
97
${MONGO_PACKAGE}-tools=$MONGO_VERSION \
98
+ && rm -f /usr/local/bin/systemctl \
96
99
&& rm -rf /var/lib/apt/lists/* \
97
100
&& rm -rf /var/lib/mongodb \
98
101
&& mv /etc/mongod.conf /etc/mongod.conf.orig
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
2
2
3
3
SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
4
4
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
8
8
9
9
RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
10
10
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2016
2
2
3
3
SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop';" ]
4
4
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
8
8
9
9
RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
10
10
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
You can’t perform that action at this time.
0 commit comments