Namespace
library
Image / Tag
mongo:8.0.0-rc17
Content Digest
sha256:2281ced15f2ee476a5b300b10d927be344afdfd17984ecfc272f9d3b9c3b6ca1
Details
Created

2024-08-13 16:01:41 UTC

Size

261 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.0~rc17

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:31e907dcc94a592a57796786399eb004dcbba714389fa615f5efa05a91316356 - 10.85% (28.3 MB)

[#001] sha256:7cad3336eb5de5309afd02f3caa37ac33d579fd38909905e022b2a38b4f48b90 - 0.0% (1.19 KB)

[#002] sha256:95345dc27d827a4989508cf81ac00d61abda632a089fd67cfb4bc51a7347f578 - 0.55% (1.44 MB)

[#003] sha256:679fe32461fb1100d8c6e50975164fee997cf7af81f8bb8c42532a3c55d4aa70 - 0.41% (1.08 MB)

[#004] sha256:689ba53de8603f5cae98704ebcfd9745eec088e437c1d13d9506fdca1779558e - 0.0% (116 Bytes)

[#005] sha256:f955919d9020af771c8624d800b2ce154239ec9b84702703e141c4b6aa1d3501 - 0.0% (264 Bytes)

[#006] sha256:5e29baa28fe78f626da9ff90f67a98c56e65ede8297af917fff851fd4606d4cf - 0.0% (265 Bytes)

[#007] sha256:6d6a5bd344c3610a9459ae21b1c18e6090ca8e4b266cb61b95f3f3f672a6cc07 - 88.19% (230 MB)

[#008] sha256:71cd6e3d18ff3fbb7c1883c0981e9f263331ef6ccf62ee56a315a928d14a7e17 - 0.0% (4.88 KB)


History
2024-08-01 14:23:53 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-08-01 14:23:53 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-08-01 14:23:53 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-08-01 14:23:53 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2024-08-01 14:23:55 UTC

/bin/sh -c #(nop) ADD file:c2e78eb585ec4e503f14c4ea98f4962c998f5eb075749507953f85387742694b in /

2024-08-01 14:23:55 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2024-08-13 16:01:41 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-13 16:01:41 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-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-08-13 16:01:41 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '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-13 16:01:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-08-13 16:01:41 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 noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2024-08-13 16:01:41 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 noble/${MONGO_PACKAGE%-unstable}/8.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.0.list" # buildkit

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc17

2024-08-13 16:01:41 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-13 16:01:41 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-08-13 20:19:26 UTC

Size

2.71 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

784480cb95392566d2556c880608cce2374cf3d45c0885790cb9441eebbd2220

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc17-signed.msi

MONGO_VERSION

8.0.0-rc17


Layers

[#000] sha256:7c76e5cf7755ce357ffb737715b0da6799a50ea468cc252c094f4d915d426b3f - 47.77% (1.29 GB)

[#001] sha256:dcd649075383e8df03ea713dfe59e1205716fbaa14450c10ef0d0a24a7b63669 - 25.91% (718 MB)

[#002] sha256:c63a979c6f92e306cb6a98e4c652320655674d28ec379681b3b548671985e795 - 0.0% (1.29 KB)

[#003] sha256:264b68d87697b930533a9a82d4cccdddcc4ff3aec269e16b8c9cf700f5866e87 - 0.0% (1.25 KB)

[#004] sha256:fbcf34ccd8472ad3c45e3a3526348df2ba14a89a90e7469e4c62423ebbc8d883 - 0.0% (1.25 KB)

[#005] sha256:5be225413d07727448cfb1fd3653bc236d949fd315944ec1d87d013c51c3b96a - 0.0% (1.26 KB)

[#006] sha256:2760d16713a8e780a57a6391fe2444988ed4fc3dd24cd55e9bde8a52a28e4ed5 - 26.32% (730 MB)

[#007] sha256:e19d81add8e401e0749e83a11083a66e93c5b155e6e905c7c3554fadec24bb01 - 0.0% (1.25 KB)

[#008] sha256:79f0f0d44cf9a883787e9e6edc69508b212af9fcaa822daabab607d23064c71f - 0.0% (1.26 KB)

[#009] sha256:382521cecadfcf570a93208863e0d675f0ab873bcb22f4a1d91c7db9652171e5 - 0.0% (1.25 KB)


History
2023-06-08 12:55:20 UTC

Apply image 10.0.20348.1787

2024-08-10 19:49:59 UTC

Install update 10.0.20348.2655

2024-08-13 20:17:43 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2024-08-13 20:17:44 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc17

2024-08-13 20:17:45 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc17-signed.msi

2024-08-13 20:17:46 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=784480cb95392566d2556c880608cce2374cf3d45c0885790cb9441eebbd2220

2024-08-13 20:19:24 UTC

powershell -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-13 20:19:25 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2024-08-13 20:19:26 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2024-08-13 20:19:26 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2024-08-13 20:21:29 UTC

Size

2.8 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

784480cb95392566d2556c880608cce2374cf3d45c0885790cb9441eebbd2220

MONGO_DOWNLOAD_URL

https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc17-signed.msi

MONGO_VERSION

8.0.0-rc17


Layers

[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 54.83% (1.54 GB)

[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 19.75% (567 MB)

[#002] sha256:b7287ff43d87cb9698453d447e07c561d8357559b0ecf251c1db4421b78cc140 - 0.0% (1.32 KB)

[#003] sha256:03507939e1d35fbfff05245fcd4ab49febfe42e4ded9181d2aba57b195e622d7 - 0.0% (1.27 KB)

[#004] sha256:2bc2740c569089f1cffa380ed277097b9f3e1696e54a2dfa4659919131bd4ea1 - 0.0% (1.27 KB)

[#005] sha256:ba205890a48bf267f7b3dbe7fadcd9308c49f0217b407ca1a564298289fbb35e - 0.0% (1.26 KB)

[#006] sha256:a42edef9231c8300305d8055beddf7f5c42d0db0a26abd90c1bbe6c51193bb67 - 25.42% (730 MB)

[#007] sha256:5b40e301865352e6621a12c440e3275eac23bac88d30456369e942e9635a8217 - 0.0% (1.26 KB)

[#008] sha256:089ec533d465ad468cda1474084d0fc8cb00f1228505d9356a96d84158f10a01 - 0.0% (1.26 KB)

[#009] sha256:cb691351c83894ef350de657ca727a0f9bf32dfd7f3269e63291d056c1d99825 - 0.0% (1.27 KB)


History
2023-06-08 12:58:24 UTC

Apply image 10.0.17763.4499

2024-08-11 07:11:31 UTC

Install update 10.0.17763.6189

2024-08-13 20:19:01 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop';]

2024-08-13 20:19:03 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_VERSION=8.0.0-rc17

2024-08-13 20:19:04 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-8.0.0-rc17-signed.msi

2024-08-13 20:19:05 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=784480cb95392566d2556c880608cce2374cf3d45c0885790cb9441eebbd2220

2024-08-13 20:21:27 UTC

powershell -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-13 20:21:28 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) VOLUME [C:\data\db C:\data\configdb]

2024-08-13 20:21:28 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) EXPOSE 27017

2024-08-13 20:21:29 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) CMD ["mongod" "--bind_ip_all"]

Details
Created

2024-08-13 16:01:41 UTC

Size

251 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    24.04

Environment
GOSU_VERSION

1.17

HOME

/data/db

JSYAML_VERSION

3.13.1

MONGO_MAJOR

testing

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

8.0.0~rc17

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin


Layers

[#000] sha256:9f23a71f1e313efedd46a7ba220354d3a6eb7196085ef28ddab1b7f266cb0666 - 10.96% (27.5 MB)

[#001] sha256:13b53f18bdca251dca6afb5266ff59a9172fac9228ee36874eaa718fb9ec64a1 - 0.0% (1.19 KB)

[#002] sha256:f91f87b445caeebe347f8a30baa20e1b935bc76791cbd11eb45c2ca97d0dbf78 - 0.57% (1.42 MB)

[#003] sha256:0ffddb0d08866892234ef8ef74e49e6ad14b2f06cec96dc9a31fc4b27fabf9d6 - 0.4% (1.01 MB)

[#004] sha256:7ab99e4c20bd0bf96b1a9723e4e8dcfd84bf6d1730dfdf0e09f02fbba78075a8 - 0.0% (116 Bytes)

[#005] sha256:f8a18c7b131ad7ef43599c42547d0c524d69c91d7062f87d8ab49cebb369bfea - 0.0% (265 Bytes)

[#006] sha256:531cabce53189f6a6b315e38028f6c39e6bffd7f9b7c2fab80543c33f9e5f934 - 0.0% (265 Bytes)

[#007] sha256:6cb9a9eea68f8dece85fd0753a216ae1a564c75b4e53206f2461dd2a483f31ab - 88.07% (221 MB)

[#008] sha256:aa22bbb6a8ea14518d020297f6b317f17e561b25cc6a262455da9dbc4ffe55a3 - 0.0% (4.88 KB)


History
2024-08-01 15:33:35 UTC

/bin/sh -c #(nop) ARG RELEASE

2024-08-01 15:33:35 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2024-08-01 15:33:35 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2024-08-01 15:33:36 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04

2024-08-01 15:33:38 UTC

/bin/sh -c #(nop) ADD file:154285ca3d49a142bc6d59c9d48f14546f32b2d6de94387c30c1ba3759249b0f in /

2024-08-01 15:33:38 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2024-08-13 16:01:41 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-13 16:01:41 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-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-08-13 16:01:41 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-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' '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-13 16:01:41 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-08-13 16:01:41 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 noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit

2024-08-13 16:01:41 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 noble/${MONGO_PACKAGE%-unstable}/8.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-8.0.list" # buildkit

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc17

2024-08-13 16:01:41 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-13 16:01:41 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/local/bin/ # buildkit

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-08-13 16:01:41 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Danger Zone
Delete Tag

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.

Delete