Namespace
library
Image / Tag
mongo:8.0.0-rc6
Content Digest
sha256:8d997764b7154095e4758194a27447fd2f292f3f47059b94d01658d19fd032c0
Details
Created

2024-05-30 16:01:43 UTC

Size

267 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.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~rc6

PATH

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


Layers

[#000] sha256:7646c8da332499ae416b15479ce832db32e39a501c662e24324f595509a0d3db - 10.54% (28.2 MB)

[#001] sha256:65000a2b05e667e76e0be502debaf5d79cce80fa8a16467b0cc14c6668332e8a - 0.0% (1.74 KB)

[#002] sha256:2a2921e307ed8eb765d1242df74ff70c9a3acb0a3c6ba1a7ef19dbfff0ef9887 - 0.54% (1.43 MB)

[#003] sha256:3d61b43c738fc874bc5ab974dc2c835b55471f9729e1fb770056714f1336ccec - 0.39% (1.05 MB)

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

[#005] sha256:3faf855e5bda5385a5263deda60af6a29ae866070aed7aed0aa1d81f65b32400 - 0.0% (267 Bytes)

[#006] sha256:5dbce6a8e02e4a69ea2f44a5e4d51a607e302833235fb81ec65c1bb1a1718ceb - 0.0% (269 Bytes)

[#007] sha256:430dc4a183adb2e17155bec8963db02fc63b8bd4d241b959800d0bd9d0dc649b - 88.53% (237 MB)

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


History
2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 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-30 16:01:43 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-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-05-30 16:01:43 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-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

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

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

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

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-05-30 16:01:43 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-30 16:01:43 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-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc6

2024-05-30 16:01:43 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-30 16:01:43 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

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

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-05-31 00:59:31 UTC

Size

2.68 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

2d8957d81bec91efad406b651c92223d650b3a0c59e41a9e2ff2b3b8a0adf870

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.0-rc6


Layers

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

[#001] sha256:ba03114511317f14392dd2ac806678d1f79c73a8a7e0bc64013540e54c22020f - 25.19% (691 MB)

[#002] sha256:d225e23bd721e354f8c1c3e502b754c36c8661b610f1ef53ede695c68862b77d - 0.0% (1.26 KB)

[#003] sha256:d3d395b277846e8f3c96865970a92157cc75ba808163d1477216286587a73153 - 0.0% (1.26 KB)

[#004] sha256:eecd83ecb892b8e6119bbf60278baddca18a64dc08e1c5dfbdb24a43deabed02 - 0.0% (1.26 KB)

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

[#006] sha256:83349e69ce0fa067fdfd330e0396e22f40027732ebceedf16620ea7ba13d791c - 26.51% (727 MB)

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

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

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


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

Apply image 10.0.20348.1787

2024-05-10 20:40:01 UTC

Install update 10.0.20348.2461

2024-05-31 00:56:48 UTC

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

2024-05-31 00:56:49 UTC

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

2024-05-31 00:56:49 UTC

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

2024-05-31 00:56:50 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=2d8957d81bec91efad406b651c92223d650b3a0c59e41a9e2ff2b3b8a0adf870

2024-05-31 00:59:28 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-05-31 00:59:29 UTC

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

2024-05-31 00:59:30 UTC

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

2024-05-31 00:59:31 UTC

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

Details
Created

2024-05-31 01:00:17 UTC

Size

2.74 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

2d8957d81bec91efad406b651c92223d650b3a0c59e41a9e2ff2b3b8a0adf870

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

8.0.0-rc6


Layers

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

[#001] sha256:e00cc2568ad51f25eabe6bb19ba6248a040d7622594b0d09ee77dec571d7280a - 17.98% (505 MB)

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

[#003] sha256:26cf00245e6b0cbfc96b3a59b46957d61042938ed1455a5368c0f6b440f7ffc7 - 0.0% (1.26 KB)

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

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

[#006] sha256:76ce15697f5fee1125217465f869bf6736c8c6703a7d005654918c61b6a703e3 - 25.91% (727 MB)

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

[#008] sha256:0a2b1fc70eb05b7e63f4ab41234962555eb40208f58b8785094b54fe8dedd561 - 0.0% (1.27 KB)

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


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

Apply image 10.0.17763.4499

2024-05-10 20:46:44 UTC

Install update 10.0.17763.5820

2024-05-31 00:56:52 UTC

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

2024-05-31 00:56:54 UTC

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

2024-05-31 00:56:54 UTC

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

2024-05-31 00:56:55 UTC

powershell -Command $ErrorActionPreference = 'Stop'; #(nop) ENV MONGO_DOWNLOAD_SHA256=2d8957d81bec91efad406b651c92223d650b3a0c59e41a9e2ff2b3b8a0adf870

2024-05-31 01:00:15 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-05-31 01:00:16 UTC

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

2024-05-31 01:00:16 UTC

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

2024-05-31 01:00:17 UTC

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

Details
Created

2024-05-30 16:01:43 UTC

Size

259 MB

Content Digest
Labels
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.version
    22.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~rc6

PATH

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


Layers

[#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:84233087b3790991c0a37dff3b2b23e0b3003fde8f10a78042861fafd4764325 - 88.98% (230 MB)

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


History
2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 UTC

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

2024-05-30 16:01:43 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-30 16:01:43 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-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-05-30 16:01:43 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-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

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

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

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

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=testing

2024-05-30 16:01:43 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-30 16:01:43 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-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=8.0.0~rc6

2024-05-30 16:01:43 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-30 16:01:43 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

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

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-05-30 16:01:43 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-05-30 16:01:43 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