2024-08-01 17:56:56 UTC
260 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc15
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:3713021b02770a720dea9b54c03d0ed83e03a2ef5dce2898c56a327fee9a8bca - 10.83% (28.2 MB)
[#001] sha256:8b6100b21574fcfd415295f6984d176b6f44dda3a37553706591361836586bb5 - 0.0% (1.74 KB)
[#002] sha256:4e8cc846617ae6bdad9c0d23e935d7d5b1fad5839838da4782967688bd2e77a4 - 0.55% (1.43 MB)
[#003] sha256:abd285755246ee1ac43c9f6e0578e31d306dbda806d45b51e1f14de26d482e7b - 0.4% (1.05 MB)
[#004] sha256:1c2fb9ac556db371a091a71ed93a629c49038860828e74f5d08a3b77204285b7 - 0.0% (116 Bytes)
[#005] sha256:a3053840be5067249e341a9a8e0ef4f1c790bff43acc45d5beaa96f5e0b17d2a - 0.0% (266 Bytes)
[#006] sha256:cd3f689c15b690e0e8dd356c13a02d05614c6e4875aa75968c29460442381b77 - 0.0% (268 Bytes)
[#007] sha256:dff539dadc434d9f5b0f14f47a29fad59ea44dcc9f433cd4a773778deef01281 - 88.21% (229 MB)
[#008] sha256:e3f7d150da6ab01a770108d2379dc2341eca63a03e8f18656ff02d327bb7bcb5 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-27 20:10:10 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-27 20:10:10 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-27 20:10:10 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-06-27 20:10:12 UTC/bin/sh -c #(nop) ADD file:d5da92199726e42da09a6f75a778befb607fe3f79e4afaf7ef5188329b26b386 in /
2024-06-27 20:10:12 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-01 17:56:56 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-08-01 17:56:56 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-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-08-01 17:56:56 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' 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /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-08-01 17:56:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-08-01 17:56:56 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-08-01 17:56:56 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-previous.list" # buildkit
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc15
2024-08-01 17:56:56 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-08-01 17:56:56 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-08-02 14:34:54 UTC
2.7 GB
adb4fff847f895937519a50bfa54505f0cf83ae236174ef49360fcbb15ce26ca
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc15-signed.msi
MONGO_VERSION8.0.0-rc15
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 47.81% (1.29 GB)
[#001] sha256:5f0206d135152eb909f50159d6ca348a5aead199afacbafc000b770c1b0720f6 - 25.86% (716 MB)
[#002] sha256:f497418698a0cb49def12ebdc12744c8ea478b4627c311ae13ca7fbfb41e3362 - 0.0% (1.25 KB)
[#003] sha256:b9ef39169da2aca01dbe7c55c41e76461efd40fc873e7d5c3d1e6511dba8603e - 0.0% (1.26 KB)
[#004] sha256:1dc063aa988a715928633e46393a822ede48f65290b43f018b69e40a9db50b57 - 0.0% (1.25 KB)
[#005] sha256:e931c0f128abd07734970d9611325f19d3167b053bda8bb37fdfe9752662508f - 0.0% (1.28 KB)
[#006] sha256:b58bab7640d8477aab91e13beb586f41d8a00ce4198b46c3b4349f6b396b1195 - 26.33% (729 MB)
[#007] sha256:d791fac39ba79bb7ce03e45b947ad5e8ec25e02e04fb0d8940a0f3abad4eb856 - 0.0% (1.25 KB)
[#008] sha256:785e0a80a5d95e60b2044237c3f2a74fb069d7c8d419de1a00987e0905f1710c - 0.0% (1.25 KB)
[#009] sha256:943b59b577bdce3d6822ebafe7bf999759701289e67bb6ce7ad6d217d0320b40 - 0.0% (1.26 KB)
Apply image 10.0.20348.1787
2024-07-03 10:07:02 UTCInstall update 10.0.20348.2582
2024-08-02 14:32:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-02 14:32:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc15
2024-08-02 14:32:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc15-signed.msi
2024-08-02 14:32:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=adb4fff847f895937519a50bfa54505f0cf83ae236174ef49360fcbb15ce26ca
2024-08-02 14:34:52 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-08-02 14:34:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-02 14:34:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-02 14:34:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-08-02 14:36:45 UTC
2.8 GB
adb4fff847f895937519a50bfa54505f0cf83ae236174ef49360fcbb15ce26ca
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc15-signed.msi
MONGO_VERSION8.0.0-rc15
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.96% (1.54 GB)
[#001] sha256:b5f98e7fe87492b83d7775a348ae0c94412b638ab5bba1a80b03c3a547708acd - 19.57% (561 MB)
[#002] sha256:2946b308872b0804eb0cbc5c066150a7bad1c372eb9460db5af7dcc4ceac344f - 0.0% (1.34 KB)
[#003] sha256:e1faaa3928ce827ab5f2722831379f1b66553a063e57ae44cfd11ec1e8c77232 - 0.0% (1.34 KB)
[#004] sha256:f468aa59b8ff3c381e68fb2933befd564eedb85a843d3641f758fa1aecdb9df9 - 0.0% (1.33 KB)
[#005] sha256:863b0bf0e146abc62f561920a2eabe3ae7301e428f5fa31855c04f7ece0ee813 - 0.0% (1.34 KB)
[#006] sha256:b6bb788dddb471e5139d4a544b528e811055f535eb1478028df30b169e90feb9 - 25.47% (729 MB)
[#007] sha256:3369740db00d89baa6d89738040fd53ae323b72c891f8de231417ed7ff154e68 - 0.0% (1.31 KB)
[#008] sha256:9a42cbd3d8cf056c82412a1ee44075a5bf3deda3bb17e9956e89f579e82b7606 - 0.0% (1.3 KB)
[#009] sha256:d452cb04d458eefc616f342526eb17301b8d9220ff879bf06d5e60c078f69900 - 0.0% (1.3 KB)
Apply image 10.0.17763.4499
2024-07-03 00:34:32 UTCInstall update 10.0.17763.6054
2024-08-02 14:32:49 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-08-02 14:32:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc15
2024-08-02 14:32:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc15-signed.msi
2024-08-02 14:32:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=adb4fff847f895937519a50bfa54505f0cf83ae236174ef49360fcbb15ce26ca
2024-08-02 14:36:42 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-08-02 14:36:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-08-02 14:36:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-08-02 14:36:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-08-01 17:56:56 UTC
249 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc15
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:4ce000a43472e4a2527834764b5044674760f1e2a766480798d03a93b51a0b39 - 10.5% (26.1 MB)
[#001] sha256:ce8be29a8bf838cc9916b397754768a6e2e78f1794cb8d7ee4969e5d02af1d19 - 0.0% (1.74 KB)
[#002] sha256:470149f3fdeb065c5d12e14bd406ee7ddc5bca82b4b242f536987cec7131ddf0 - 0.56% (1.4 MB)
[#003] sha256:08b459cf42ec8c1561094ee96276a80b4e2e4e0bb3f9bb556a6bbf1574ab8347 - 0.39% (1000 KB)
[#004] sha256:31eb8fad617ccf0080c4054c990f341925e22d3fea0ca3b7423c0d543cb45552 - 0.0% (116 Bytes)
[#005] sha256:f1adca1de8aa763a45ca90e419db00d14b7862c451917a4cb970fafcd48a5bbc - 0.0% (269 Bytes)
[#006] sha256:2c74523bf59ac9440b1d89677c309948d80c3cd0dd4cf12b1864ad996b584236 - 0.0% (271 Bytes)
[#007] sha256:5edda9d16d0c42b774d9f65636614d9630a2e9f71fe953e3a8c59d071975ba6c - 88.55% (220 MB)
[#008] sha256:0cd2b87fd17cc26dc7bc4c7d452768b530dd9f222f2718b77cf0eef525687d9a - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-27 19:23:22 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-27 19:23:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-27 19:23:22 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-06-27 19:23:26 UTC/bin/sh -c #(nop) ADD file:2bed1fbf8253926f27dc275983c274712d836e9b6acdb1059d29c072d8f63a03 in /
2024-06-27 19:23:26 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-01 17:56:56 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-08-01 17:56:56 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-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-08-01 17:56:56 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' 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'E58830201F7DD82CD808AA84160D26BB1785BA38' '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /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-08-01 17:56:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-08-01 17:56:56 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-08-01 17:56:56 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-previous.list" # buildkit
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc15
2024-08-01 17:56:56 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-08-01 17:56:56 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-08-01 17:56:56 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-08-01 17:56:56 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.