2024-06-05 22:21:58 UTC
267 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7646c8da332499ae416b15479ce832db32e39a501c662e24324f595509a0d3db - 10.54% (28.2 MB)
[#001] sha256:58886dbcd5e7dfa42f4a8ef4908753c53e77a578961dc15c57d7c71a525ebabc - 0.0% (1.74 KB)
[#002] sha256:fb7770c08d14f0df18d5e4437050969bc028a90bb666e743acd4e23e48758036 - 0.54% (1.43 MB)
[#003] sha256:94e14542a8ff6eb460640e7b26cd0fae8e3c17c6cd84eae98e18be277a098b29 - 0.39% (1.05 MB)
[#004] sha256:fc1a51ff0608f91f27ae66c706a2a73cfafe42f60e5fe14ad9c08f0505e165c5 - 0.0% (116 Bytes)
[#005] sha256:17d034c870f29a6d44c12952df9c5bf42ae288e60dd1d724ebe7eb21088af236 - 0.0% (269 Bytes)
[#006] sha256:e3865683329ec2aaf53c5c18abf58888eb4698762371232cf03744d4b1b23a82 - 0.0% (271 Bytes)
[#007] sha256:16364db5b5d6555d2a0218e300b3dd2333230e71ba92437190f72ee7e14abddf - 88.53% (237 MB)
[#008] sha256:d2e43fc28f3aac8ced5ab7a233f0f532c139a86251a28edc083143bbefc49bcf - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-03 10:32:23 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-03 10:32:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-03 10:32:23 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-06-03 10:32:25 UTC/bin/sh -c #(nop) ADD file:89847d76d242dea90ede05e9e1e13a1ff4400a65eafbe2d6e31e086c93893580 in /
2024-06-03 10:32:26 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-06-05 22:21:58 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-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-06-05 22:21:58 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-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc7
2024-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-06-12 18:08:43 UTC
2.68 GB
de20ad581150a21b73312bc7f1502673970fa9f32a6dc94c7a288969174737b7
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc7-signed.msi
MONGO_VERSION8.0.0-rc7
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 48.21% (1.29 GB)
[#001] sha256:cedf08888525e83e4a050655b4ec0d81647e59a69f7007a560df774a656da9bb - 25.33% (696 MB)
[#002] sha256:e01552e9039365a9a30e9a9656116e0473fc4dfc9713ab75c83b41e56d56131b - 0.0% (1.26 KB)
[#003] sha256:e16fcefd25256ec12c29e588910c05733715d87ac4dafb30cd071e272752cce8 - 0.0% (1.26 KB)
[#004] sha256:8a660efb2352d3a91daf485737e5e2311d5d8b95c864ff57d1a2706d0741d42b - 0.0% (1.25 KB)
[#005] sha256:bfbe7d6e23a01a971d465ea03c627af925127ce93246a80597bbf4a217dc0bc5 - 0.0% (1.25 KB)
[#006] sha256:6f2affe7dac75629e80fb1aa7708e466f02a4a10de4ab1422941b0a860c27a54 - 26.46% (727 MB)
[#007] sha256:28268bf22ab50d0e99ddcdd53404a8628f7312231ca792e3c3e7eb9a5bd05317 - 0.0% (1.25 KB)
[#008] sha256:4dd1c79fc01f408f6068297f52091e317ce82fc7a4355a061b75219eb4e3cca4 - 0.0% (1.26 KB)
[#009] sha256:841d176ed9065e73a34afef9eb6f165bfcc07031ebe38288836c21747d1a84ca - 0.0% (1.25 KB)
Apply image 10.0.20348.1787
2024-06-07 09:02:12 UTCInstall update 10.0.20348.2527
2024-06-12 18:06:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-06-12 18:06:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc7
2024-06-12 18:06:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc7-signed.msi
2024-06-12 18:06:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=de20ad581150a21b73312bc7f1502673970fa9f32a6dc94c7a288969174737b7
2024-06-12 18:08:40 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-06-12 18:08:41 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-06-12 18:08:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-06-12 18:08:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-06-12 18:14:23 UTC
2.78 GB
de20ad581150a21b73312bc7f1502673970fa9f32a6dc94c7a288969174737b7
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc7-signed.msi
MONGO_VERSION8.0.0-rc7
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 55.33% (1.54 GB)
[#001] sha256:56a5fd77f8cb6921d3e283f98213bf8c163d3502a75b4a8e4a809a15654f7d1a - 19.11% (544 MB)
[#002] sha256:e02e2547abfb904398671fff349a817a5fff5e704ee12cf4fdac97c75f780408 - 0.0% (1.3 KB)
[#003] sha256:39fc896f3eb7b117bd93ff941c983f85ec19a129de1cc9ba402763be4ada3cc7 - 0.0% (1.29 KB)
[#004] sha256:98880700110d18978449edb0736f38ecf5de9fda489dce9cd5e8f2fcb3b9389d - 0.0% (1.33 KB)
[#005] sha256:f3fb9b59493a0930ba9239b507812fd652159f31b61786e810f25abe0becf467 - 0.0% (1.26 KB)
[#006] sha256:6be2b68b1c2585e1a44273115d2988f008ec6350c56dcfad4a3dac512535290b - 25.56% (727 MB)
[#007] sha256:2214f715130f4976d6883ddb935646c6b592a03ce5d9eb73dab8adf4cbbf77f3 - 0.0% (1.27 KB)
[#008] sha256:f8e40d43ddd9e4b8e05697e8524bcdceede3553a47ffb6b1c8b75d1e30d97f41 - 0.0% (1.27 KB)
[#009] sha256:144e274597405efe3b849a644e581a88a548c3676e2ca2e6ca6bfa89ba3c8150 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-06-07 11:19:50 UTCInstall update 10.0.17763.5936
2024-06-12 18:11:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-06-12 18:11:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc7
2024-06-12 18:11:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc7-signed.msi
2024-06-12 18:11:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=de20ad581150a21b73312bc7f1502673970fa9f32a6dc94c7a288969174737b7
2024-06-12 18:14:20 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-06-12 18:14:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-06-12 18:14:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-06-12 18:14:23 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-06-05 22:21:58 UTC
259 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc7
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9b10a938e28486049341cb41134e8c0c141b2e25870896c597e2a54df471acbb - 10.09% (26.1 MB)
[#001] sha256:6f33a3006c470fcf35e360ed94e30a65c5fe9f95ce0cf0c9ab2243273d4df519 - 0.0% (1.74 KB)
[#002] sha256:eedf0c2fd07791b0a7c85eaf3c323cc949fdc8675f41c70a6bfff588bab98d26 - 0.54% (1.4 MB)
[#003] sha256:0a3b0031a2197a7f48cf6963283054db7afe46eb4a3fd8b53817ba8235295ff7 - 0.38% (1000 KB)
[#004] sha256:98459376e6d9a66a53e0fced01281d1b214d7325172bb71a03a3ed112f561cf3 - 0.0% (116 Bytes)
[#005] sha256:e5677575395f01f72ea47707ff74876d7adc8048da282b0d914101b700096ace - 0.0% (264 Bytes)
[#006] sha256:d198b336f0adca89f1098b48be687ec689ca112f2f9264fab0c1834a394e4dd7 - 0.0% (269 Bytes)
[#007] sha256:1de9655ea0c7a2e4e1a5caeb06a97fa7e31f4457a207deacf87b5819a6864bdc - 88.99% (230 MB)
[#008] sha256:f198f335c836ddf1a9986d1f61e27e1cf652e56923f626caa1c21016d45238dc - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-03 10:30:07 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-03 10:30:07 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-03 10:30:07 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-06-03 10:30:11 UTC/bin/sh -c #(nop) ADD file:5f73ea0f53302f1771b6d2cb5650f715247ad02d80e986d67b2d55c22712f1ca in /
2024-06-03 10:30:12 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-06-05 22:21:58 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-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-06-05 22:21:58 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-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc7
2024-06-05 22:21:58 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-06-05 22:21:58 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-05 22:21:58 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-06-05 22:21:58 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.