File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
windowsservercore-ltsc2016 Expand file tree Collapse file tree 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
7979ENV MONGO_PACKAGE=${MONGO_PACKAGE} MONGO_REPO=${MONGO_REPO}
8080
8181ENV MONGO_MAJOR 4.2
82- ENV MONGO_VERSION 4.2.10
82+ ENV MONGO_VERSION 4.2.11
8383# bashbrew-architectures:amd64 arm64v8
8484RUN 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
8686RUN 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
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
22
33SHELL ["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
99RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
1010 [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
22
33SHELL ["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
99RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
1010 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
You can’t perform that action at this time.
0 commit comments