2024-06-05 22:17:02 UTC
242 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION6.0.16~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:7646c8da332499ae416b15479ce832db32e39a501c662e24324f595509a0d3db - 11.63% (28.2 MB)
[#001] sha256:e5d8755bacecf5ba628d48a66e580b1287a33a200d3bc9f6deb0fb4581bb05b3 - 0.0% (1.74 KB)
[#002] sha256:86117b57aa4aa8bfe105fa510047949099b3eb1e77fc36330925122848eda02f - 0.59% (1.43 MB)
[#003] sha256:152e80fde3f35ad2f3ab66590cf69419239b7a3dfcffc3feb89c493801e9087d - 0.43% (1.05 MB)
[#004] sha256:3da183971467f21c58913996fea15131028136d64144fa6530362170d7686bad - 0.0% (116 Bytes)
[#005] sha256:a1bb2e3c734153ab70dc779ec9dbc36931d5448f60b487e141ea8dc556acb5bd - 0.0% (266 Bytes)
[#006] sha256:6dd20ae0ccb872b130aeb84f0abe40f6a30d956c1b20f73a86f461d8d9fc75f2 - 0.0% (265 Bytes)
[#007] sha256:dd51fcdbecab00a86e10faebc5160d60abf27ef2da56e0a549798b057b81af7e - 87.35% (212 MB)
[#008] sha256:1387245aca17ae793f6c96cbbf78cfd1814a8affd8ba39aa0618ff98cec60b0f - 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:17:02 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:17:02 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:17:02 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-06-05 22:17:02 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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:17:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-06-05 22:17:02 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:17:02 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}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-6.0.list" # buildkit
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=6.0.16~rc0
2024-06-05 22:17:02 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:17:02 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-06-22 00:06:21 UTC
2.46 GB
9300e98c3b6e4f51ca31b6beac97f8593f3f40b13c771560b3685178880481cb
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.16-rc0-signed.msi
MONGO_VERSION6.0.16-rc0
[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 52.55% (1.29 GB)
[#001] sha256:eb373ec9afdfc5f09b9380d981e0c61f9c7b48537b887135c7c66810086e705e - 27.61% (696 MB)
[#002] sha256:dd3bd01108f07cb7c5f3380a10ad3ca18fc829caa9267dc1de3d302d12bb388c - 0.0% (1.26 KB)
[#003] sha256:465a0c41360d45ce45e876997d975a690bb8bc623173e17f783aa648f4559d27 - 0.0% (1.25 KB)
[#004] sha256:5aa5c9ac55ee84dbe50c3c8abb2bb2e6aa8ed8f7ab4ee07feb9135bcdaabbe53 - 0.0% (1.25 KB)
[#005] sha256:72f3be782da9d4d8661f3bda6aa4c05a7d32b7e5d4e25c98c669126f86b52828 - 0.0% (1.25 KB)
[#006] sha256:ff029ef7f538a207ade66f15b1ead9ab7ab7103681a537af29e7f73a34ffc6bb - 19.84% (500 MB)
[#007] sha256:12ab4d871d3bc610cc5bbfa1ba4d1a7bbcc64319940385eea52ec790cd1f5549 - 0.0% (1.26 KB)
[#008] sha256:56b804546aa49171927907c401ca89b75befb3f03cd85aadc06bef6c7f265a4e - 0.0% (1.25 KB)
[#009] sha256:1802b44e772887e38109fa583dfae2c6c2e3a027506cc3cccf3715548cd01b2c - 0.0% (1.25 KB)
Apply image 10.0.20348.1787
2024-06-19 19:58:05 UTCInstall update 10.0.20348.2529
2024-06-22 00:05:14 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-06-22 00:05:15 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.16-rc0
2024-06-22 00:05:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.16-rc0-signed.msi
2024-06-22 00:05:16 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=9300e98c3b6e4f51ca31b6beac97f8593f3f40b13c771560b3685178880481cb
2024-06-22 00:06:17 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-22 00:06:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-06-22 00:06:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-06-22 00:06:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-06-12 18:22:08 UTC
2.56 GB
9300e98c3b6e4f51ca31b6beac97f8593f3f40b13c771560b3685178880481cb
MONGO_DOWNLOAD_URLhttps://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.16-rc0-signed.msi
MONGO_VERSION6.0.16-rc0
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 60.13% (1.54 GB)
[#001] sha256:56a5fd77f8cb6921d3e283f98213bf8c163d3502a75b4a8e4a809a15654f7d1a - 20.77% (544 MB)
[#002] sha256:b33ce618304a1417922ff1f45daa38d2404769de251649ce3d2b95954401f8c4 - 0.0% (1.33 KB)
[#003] sha256:8ec2b98e70554af0d1f0c965752ea751d19e085de476ef75a0f9e878370dcd6a - 0.0% (1.3 KB)
[#004] sha256:cd7e70ec68c2b0ed0e122151d91500bcb5438359ee489a51025775dae1c4c959 - 0.0% (1.32 KB)
[#005] sha256:c6eb56b7411f93fa4b6eae46f68d76662923136c89f020d90e46a1884b9e1811 - 0.0% (1.34 KB)
[#006] sha256:22fd1373a1b6f2bd91c1dedef9b7da81c064575b915ab384199f2926a08c70c4 - 19.11% (500 MB)
[#007] sha256:4f744fc7a18bdbf8c8a48cac988d046bb69dcc3c8a81f3e6030ba3386e6f967e - 0.0% (1.31 KB)
[#008] sha256:87fc294f3519204d25e4a4d85affd929317bb95cd049dab06fb581a819681dee - 0.0% (1.3 KB)
[#009] sha256:e4f2b9a90008833cb9196e4e5bca927ade5a3e5c4ab1142fd2396d1bf95b5ed2 - 0.0% (1.3 KB)
Apply image 10.0.17763.4499
2024-06-07 11:19:50 UTCInstall update 10.0.17763.5936
2024-06-12 18:19:40 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]
2024-06-12 18:19:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=6.0.16-rc0
2024-06-12 18:19:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.16-rc0-signed.msi
2024-06-12 18:19:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=9300e98c3b6e4f51ca31b6beac97f8593f3f40b13c771560b3685178880481cb
2024-06-12 18:22:04 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:22:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]
2024-06-12 18:22:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017
2024-06-12 18:22:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]
2024-06-05 22:17:02 UTC
236 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION6.0.16~rc0
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9b10a938e28486049341cb41134e8c0c141b2e25870896c597e2a54df471acbb - 11.07% (26.1 MB)
[#001] sha256:6f33a3006c470fcf35e360ed94e30a65c5fe9f95ce0cf0c9ab2243273d4df519 - 0.0% (1.74 KB)
[#002] sha256:eedf0c2fd07791b0a7c85eaf3c323cc949fdc8675f41c70a6bfff588bab98d26 - 0.59% (1.4 MB)
[#003] sha256:f2af35d97563882127e84eba2b6215a782af05068f362dc915655d7009ffbfc2 - 0.42% (1010 KB)
[#004] sha256:a99fe077bfec7a5efc46dad36fadf11057a505c751c0ff478b23e45a3ef5dd61 - 0.0% (116 Bytes)
[#005] sha256:dcac38c70e6bbf6ac1ffae8fd4620de510e463588fe8c6083217cfef906c6e23 - 0.0% (266 Bytes)
[#006] sha256:8238a7dd0d28c79687a44e2d1c361e4f4b41500f26700f417780113d136b0774 - 0.0% (265 Bytes)
[#007] sha256:7fd5a72ae4a6dee3f68112defb493f470b4baeee5905d7a7735494e1d022513a - 87.91% (207 MB)
[#008] sha256:eaa7b20342127c9528aeb61c593fced10535a419ee85c818b68e6b2c7743cb06 - 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:17:02 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:17:02 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:17:02 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-06-05 22:17:02 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /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:17:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-06-05 22:17:02 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:17:02 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}/6.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-6.0.list" # buildkit
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=6.0.16~rc0
2024-06-05 22:17:02 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:17:02 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-05 22:17:02 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-06-05 22:17:02 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.