2024-03-13 22:01:27 UTC
251 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION5.0.26~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:17d0386c2fff30a5b92652bbef2b84639dba9b9f17bdbb819c8d10badd827fdb - 10.45% (26.2 MB)
[#001] sha256:9652e0708e4279d6ce364520f70bddbbd9df2ca7c3a5fe0d50b097ee75709d67 - 0.0% (1.74 KB)
[#002] sha256:53f5f7941c41233ac8a24a9180535c50976e04de7ec54d2c12a216289ef15e30 - 1.17% (2.93 MB)
[#003] sha256:4938256336789bb6ff14d43aa764593f4ad4036291f3d90107f566b44b3c5322 - 0.42% (1.04 MB)
[#004] sha256:0867638ac89f7ed6c6119e21338dbb0c676183d108567c3d13379e641fd84621 - 0.0% (116 Bytes)
[#005] sha256:4d4322b3f8960b012221356e138909d5e16e08722f8aad69d1fbcef94cb4fbf9 - 0.0% (262 Bytes)
[#006] sha256:b33a27a158df27dc09d273d2ba3f9a0fcdc227e9ed54bab294021a0474afdf5b - 0.0% (262 Bytes)
[#007] sha256:e6d1472f96e06daf12f94c32b1c77a72130b84cc563a0b4d97022c358db6009b - 87.96% (221 MB)
[#008] sha256:20d8d65ba29c9bd1e3f6d6ece4f3d2479ade4d9ff20b7c26e862c13534b841e7 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-02-16 21:32:49 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-16 21:32:49 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-16 21:32:49 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-02-16 21:32:52 UTC/bin/sh -c #(nop) ADD file:a25798f31219000d6a82d2c9258743926b1a400530d12dbb1eadf2c2519f9888 in /
2024-02-16 21:32:52 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; wget -O /opt/js-yaml/package.json "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/package.json"; ln -s /opt/js-yaml/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=5.0.26~rc0
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-03-14 18:57:38 UTC
2.11 GB
f7e1cf5ac52a6b7292007d1e1ea684627b3d2191dc1a39ddb2226409662c44d8
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.26-rc0-signed.msi
MONGO_VERSION5.0.26-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 61.18% (1.29 GB)
[#001] sha256:a61557bf66429be9509f579104808d2853f8f7aefbd49ef26f5f2a90266c46f5 - 25.06% (543 MB)
[#002] sha256:0484d7c98ddfc4cbda676ddd2fbdfb08e4f5a6eb77953a414304ce5dd08e9790 - 0.0% (1.26 KB)
[#003] sha256:d2f9dab66b7a3c9a9b975f34c34be72f67cf61adc1351770a252d485ab6e87ab - 0.0% (1.26 KB)
[#004] sha256:0628f313b4cbc1b545dba5ade38ace7f81cb69ca7ab14b19b6b7fdff4ccc25a0 - 0.0% (1.26 KB)
[#005] sha256:b0851440641b3248cf25d1785d136c65a2050a9da153ae42a7ffe330ddc8785e - 0.0% (1.26 KB)
[#006] sha256:1e5da1b8d8cf4a4b3ac776a1c3f50dbb06f1be9c0e169a6e744eac19e987f675 - 13.76% (298 MB)
[#007] sha256:9f54c7f476070c1e62aef639e5c348293603fb290affc0651da343a684defb6e - 0.0% (1.26 KB)
[#008] sha256:276bb7f7781b8be53d4821200ab4c367cc7484212be7e9607b51d8b011def63e - 0.0% (1.26 KB)
[#009] sha256:1a12c7e38538bf3be7f0c7cebdc4b6330af98c328e4cc9d7c269f2c1eb884214 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-03-05 19:55:40 UTCInstall update 10.0.20348.2340
2024-03-14 18:56:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-03-14 18:56:35 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.26-rc0
2024-03-14 18:56:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.26-rc0-signed.msi
2024-03-14 18:56:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f7e1cf5ac52a6b7292007d1e1ea684627b3d2191dc1a39ddb2226409662c44d8
2024-03-14 18:57:34 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2024-03-14 18:57:36 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-03-14 18:57:37 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-03-14 18:57:38 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-03-14 18:59:10 UTC
2.27 GB
f7e1cf5ac52a6b7292007d1e1ea684627b3d2191dc1a39ddb2226409662c44d8
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.26-rc0-signed.msi
MONGO_VERSION5.0.26-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 67.72% (1.54 GB)
[#001] sha256:a22a88a4a0d197cb745939f382a7898094af0a089fce3173f283651a01da996b - 19.47% (452 MB)
[#002] sha256:1460e6063112eba4d62e07295110021a4b8a460f6db4e112a096390aa9fdc4a0 - 0.0% (1.26 KB)
[#003] sha256:c82cb125e75c6543b1aad3eed8e89102c4a16a4b64bf191c6f40e7349971d4c0 - 0.0% (1.27 KB)
[#004] sha256:8ba49cfdb06cf814e234282c388c7822d159fa28c3a5e4bb8bbed7b304a0513d - 0.0% (1.26 KB)
[#005] sha256:aae7fb440f7ba4a2e411b22e5334b9c70a208ecf2cfb444167b3d3546afdff40 - 0.0% (1.27 KB)
[#006] sha256:c24b7a19a8f98a12117c6314709e2f46785f2db5267341d3288656ccd36547f2 - 12.81% (298 MB)
[#007] sha256:9376ad72ef66bdc1356de5e1ef0e19068647a1a1506024f1ec6a37e2e300ae02 - 0.0% (1.27 KB)
[#008] sha256:9e90298e1a869f0e7f43a7375bf6330cbbcbe1151c3ba7359b9f38b7a793bf84 - 0.0% (1.25 KB)
[#009] sha256:0211af00044f0b6fd55c7cecd6e6e7e3261f48bed4e4062b3e2e826a6a713617 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-03-04 01:18:21 UTCInstall update 10.0.17763.5576
2024-03-14 18:57:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-03-14 18:57:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=5.0.26-rc0
2024-03-14 18:57:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.26-rc0-signed.msi
2024-03-14 18:57:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=f7e1cf5ac52a6b7292007d1e1ea684627b3d2191dc1a39ddb2226409662c44d8
2024-03-14 18:59:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,MiscellaneousTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongod.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2024-03-14 18:59:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-03-14 18:59:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-03-14 18:59:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-03-13 22:01:27 UTC
247 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION5.0.26~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:6aae4cfdd5a10a8b0554e75c4c14ae38022a0c8f08dc5d769a735c705670cab7 - 10.05% (24.8 MB)
[#001] sha256:3b819790bf6c5d972784a5f81e9609e790c0c8374ad9148d6db4183189adb696 - 0.0% (1.76 KB)
[#002] sha256:2f7c87e20203f1f413df42b60f86241f3ec9cc2a05b6c4a072c0b20400c75e8c - 1.13% (2.79 MB)
[#003] sha256:268c1f9eb4acdfcbbc9542d99e2b6257227bcbdbfb7918804d2b0789f01402a9 - 0.4% (1000 KB)
[#004] sha256:79e7c7ca93b8c7e2d71552d01abab1f833f63a2ef3099a6a023cdad9ac6d531b - 0.0% (116 Bytes)
[#005] sha256:60dfc90e29d63a0cead0fb85c9c7d635562af2858b7f94910e08b131e73ac70b - 0.0% (262 Bytes)
[#006] sha256:41b81894b14c9c76feed545f7285542b89fa3a7b25ca31c87409f088708bb142 - 0.0% (261 Bytes)
[#007] sha256:309ec4d1b82866294d4e6b8fb37b4b6f6d29a76dab4c8a1bad6870f52c5badbe - 88.42% (218 MB)
[#008] sha256:a9cc2063293228a2e964883145704ea643dc33c1cff127bdfa25cadef01db28b - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-02-16 19:15:01 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-02-16 19:15:01 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-02-16 19:15:01 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-02-16 19:15:06 UTC/bin/sh -c #(nop) ADD file:a8303c80b47ec165c276111aa6f98ee877e4da60ddafa00b7547032a3de7935d in /
2024-02-16 19:15:06 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; groupadd --gid 999 --system mongodb; useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; mkdir -p /data/db /data/configdb; chown -R mongodb:mongodb /data/db /data/configdb # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg wget ; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; wget -O /opt/js-yaml/package.json "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/package.json"; ln -s /opt/js-yaml/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-dev.asc' 'https://pgp.mongodb.com/server-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=5.0.26~rc0
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-03-13 22:01:27 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.