2024-05-02 16:01:39 UTC
253 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.10~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a8b1c5f80c2d2a757adc963e3fe2dad0b4d229f83df3349fbb70e4d12dd48822 - 11.15% (28.2 MB)
[#001] sha256:bb6f63d0cd24330862bf67851b969e162fe9a2140aa88dc99cc46d1b6234926b - 0.0% (1.74 KB)
[#002] sha256:795184b9764ecab88f284a3ff94743d90ce8edff20ca74b139f272a47bf88af0 - 0.57% (1.43 MB)
[#003] sha256:9223d88dbf908b001513a96ca027a0d5e75f142816c139a6a732a29ed62c125d - 0.41% (1.05 MB)
[#004] sha256:47a85ed86b8b010d2c45a9838cd80f97c5b6a90de7e931c99ad1ce45ea64b513 - 0.0% (116 Bytes)
[#005] sha256:cadf156d4e6dbb0b8505d80e6c636e7cf66ec110848cccafc93c36a8184982b4 - 0.0% (265 Bytes)
[#006] sha256:1208ca94adcb07f6c949dc52ceb869df46114329464977f80a9cb1ef14eea164 - 0.0% (264 Bytes)
[#007] sha256:92034da0b36aa23313d3dba626b1eb9a166da4fcbaf69149bcf9e88b68fc96dc - 87.86% (222 MB)
[#008] sha256:2e0b6482cd6d9341ed837304c33233c44e9ce932cd3c86183360434f80244835 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-04-27 13:18:35 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-04-27 13:18:35 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-04-27 13:18:35 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-04-27 13:18:37 UTC/bin/sh -c #(nop) ADD file:a5d32dc2ab15ff0d7dbd72af26e361eb1f3e87a0d29ec3a1ceab24ad7b3e6ba9 in /
2024-04-27 13:18:37 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-05-02 16:01:39 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-05-02 16:01:39 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-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-05-02 16:01:39 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-05-02 16:01:39 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-05-02 16:01:39 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-05-02 16:01:39 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 jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.10~rc0
2024-05-02 16:01:39 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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-05-15 22:01:18 UTC
2.54 GB
5e3d73fb7d48d2a523386fbdddf0aa775a608e9ee11eac1bcb68b925b3063329
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.10-rc0-signed.msi
MONGO_VERSION7.0.10-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 50.85% (1.29 GB)
[#001] sha256:ba03114511317f14392dd2ac806678d1f79c73a8a7e0bc64013540e54c22020f - 26.51% (691 MB)
[#002] sha256:6adb646a06203812e11dfeef8d300fa8c363a5a15ea43796bd2db65e52efce0b - 0.0% (1.25 KB)
[#003] sha256:aa5063907a563a37e1c766c4e8a306e69d240a6ade220fefab7b145a5dc2a061 - 0.0% (1.26 KB)
[#004] sha256:2cd184bdda87264d7c8a214e248ff68ef13a5069d4c0bca21b20b5d49003ed2a - 0.0% (1.26 KB)
[#005] sha256:de554153e63762b82616e760530db15bcf48b3a785407b12086b34145b9482fe - 0.0% (1.26 KB)
[#006] sha256:c591d4072a9db44b4d49c4a1bcb02ece16bf40caa5b84be30e390715443a4e22 - 22.64% (590 MB)
[#007] sha256:55730d624d0692a24ffb180b5083b4b697f4adc970f6c850d73a33f21102e9f2 - 0.0% (1.25 KB)
[#008] sha256:437dcae0eb1ae9524a9f9b46da4d0a4325e602441aea78d590c452cb6c0a6e56 - 0.0% (1.26 KB)
[#009] sha256:399b6cb2b8bc714498313a79c4b62e97867303d5d28226ce4512c3fd7fa0bb39 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-05-10 20:40:01 UTCInstall update 10.0.20348.2461
2024-05-15 22:00:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-15 22:00:00 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.10-rc0
2024-05-15 22:00:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.10-rc0-signed.msi
2024-05-15 22:00:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5e3d73fb7d48d2a523386fbdddf0aa775a608e9ee11eac1bcb68b925b3063329
2024-05-15 22:01:16 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2024-05-15 22:01:17 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-15 22:01:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-15 22:01:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-05-15 21:54:24 UTC
2.61 GB
5e3d73fb7d48d2a523386fbdddf0aa775a608e9ee11eac1bcb68b925b3063329
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.10-rc0-signed.msi
MONGO_VERSION7.0.10-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 58.99% (1.54 GB)
[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 18.91% (505 MB)
[#002] sha256:d497ade75771f4219bb05d0d086eea9358a90ee9f00d27ed70ccec44603d5a46 - 0.0% (1.26 KB)
[#003] sha256:6fa135642c74095200104d7ad23e847a1024480c6bb0958c678b5c9ef5b8151e - 0.0% (1.27 KB)
[#004] sha256:d73dded6f0ccde5c4a3cb907af519da35409e944d42dd2b2db6f5f7d329dcd39 - 0.0% (1.26 KB)
[#005] sha256:2910679e8e63f6676efdf7ab5e40cc83d604cac6f9de20c9f066aaca77565b29 - 0.0% (1.27 KB)
[#006] sha256:311634b12e07e419b422ff0c6ab3763a39db07534f196568b70bafbacdca7f7a - 22.1% (590 MB)
[#007] sha256:61fee0e313945f26e2a9711f1fa8b4f75da343b00ccf837202258a0d3a2f9e1b - 0.0% (1.26 KB)
[#008] sha256:ab82b4e728dceb959b093a3bc63d1342800e0d7676a388edb094ac10ca511b19 - 0.0% (1.26 KB)
[#009] sha256:c156337626ac4d419c92d0f199874095e23f7db39572c752926a93d431eefe5d - 0.0% (1.29 KB)
Apply image 10.0.17763.4499
2024-05-10 20:46:44 UTCInstall update 10.0.17763.5820
2024-05-15 21:51:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-05-15 21:51:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=7.0.10-rc0
2024-05-15 21:51:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.10-rc0-signed.msi
2024-05-15 21:51:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=5e3d73fb7d48d2a523386fbdddf0aa775a608e9ee11eac1bcb68b925b3063329
2024-05-15 21:54:21 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=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 ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.';
2024-05-15 21:54:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-05-15 21:54:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-05-15 21:54:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-05-02 16:01:39 UTC
245 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION7.0.10~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d5a2ad729c09fbfdb259ae764f92188efc67a615ffde9bb34a46298d1edf3cd6 - 10.66% (26.1 MB)
[#001] sha256:8997f1f9f9006d728589447abdb1409fa9e5a099131cd4e1e64cd6a6aebc75a4 - 0.0% (1.74 KB)
[#002] sha256:0df3da78ba55adacc12f99125c8d02a8619ea246b5d158139419be8088a877bb - 0.57% (1.4 MB)
[#003] sha256:27eae87c76165b346f519b17aaf9e72e23e2b0e607e015fdcf9f74579ccca812 - 0.4% (1000 KB)
[#004] sha256:d1611477fdfe8b4eba5f946cfd9ed47336402fcf044502e13ed5dc268f8bbe42 - 0.0% (116 Bytes)
[#005] sha256:948cb72c70ced3f36882761b1bf597b9e50fd267df8e360af1a13ae3bd97f93d - 0.0% (265 Bytes)
[#006] sha256:adfab047944fc2f72ec52d6b1f22c7968dc860a49024eae08646d6650ceda4a2 - 0.0% (264 Bytes)
[#007] sha256:63c04f4efa9e0063c357e673fb8b454c7886643f9ae1a51d7da485c4ac692c42 - 88.36% (216 MB)
[#008] sha256:e0b32601d0c42d6e5e55676c3cc4510556e79843294eab7549e2d72858f3629d - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-04-27 14:32:22 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-04-27 14:32:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-04-27 14:32:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-04-27 14:32:33 UTC/bin/sh -c #(nop) ADD file:18035d0a8c59e3306bad4219c71a52b03397fc8f231baf7f676287c73024d85c in /
2024-04-27 14:32:33 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-05-02 16:01:39 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-05-02 16:01:39 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-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-05-02 16:01:39 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-7.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /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-05-02 16:01:39 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-05-02 16:01:39 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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-05-02 16:01:39 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 jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-7.0.list" # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=7.0.10~rc0
2024-05-02 16:01:39 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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-05-02 16:01:39 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-05-02 16:01:39 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.