Namespace
library
Image / Tag
mongo:6.0.15
Content Digest
sha256:6e1072049597d6718847058e50debfbf7e4bd6296fec26fe127157bfbbe1b668
Details
Created

2024-04-18 10:01:32 UTC

Size

241 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

6.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

6.0.15

PATH

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


Layers

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

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

[#002] sha256:d06bb5e0759e36d84e4556a4be54f3849d74fc8f8a7a2c65b42d45539a92a733 - 0.59% (1.43 MB)

[#003] sha256:1744a61682a80c21e787d65cd107554ac44869d0dfe405e18f10bc6f684b4935 - 0.43% (1.04 MB)

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

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

[#006] sha256:11f578d2a329fcbc1f0abe4a592ed22f087091d30c617db47dd00f18c1cc482e - 87.27% (210 MB)

[#007] sha256:555a62b8f2fd99ed71b5c30f577486fe63e5f9539d32ec8d340c2641e2efccdd - 0.0% (4.88 KB)


History
2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 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-04-18 10:01:32 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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-04-18 10:01:32 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

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

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

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

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=6.0

2024-04-18 10:01:32 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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=6.0.15

2024-04-18 10:01:32 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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

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

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

CMD ["mongod"]

Details
Created

2024-06-22 00:02:05 UTC

Size

2.45 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

a59408edea70438c1c9793ecdbc8b2111e44f10dd90f1ed0d2cc8071ae1cc95f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.15


Layers

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

[#001] sha256:eb373ec9afdfc5f09b9380d981e0c61f9c7b48537b887135c7c66810086e705e - 27.68% (696 MB)

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

[#003] sha256:42212d14c7f546362726c961d16658cff810b1fb0789d7f9b8a97e262d90a174 - 0.0% (1.25 KB)

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

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

[#006] sha256:b9db45e83c804b10fea0202b683e4202676cb71c5bb5985c39723c696917ac88 - 19.63% (493 MB)

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

[#008] sha256:bf606cd60b5c96f2bd97a673cddd56d87f0029619ea19e49b60f91d3226d814e - 0.0% (1.25 KB)

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


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

Apply image 10.0.20348.1787

2024-06-19 19:58:05 UTC

Install update 10.0.20348.2529

2024-06-22 00:00:51 UTC

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

2024-06-22 00:00:52 UTC

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

2024-06-22 00:00:53 UTC

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

2024-06-22 00:00:54 UTC

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

2024-06-22 00:02:02 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-06-22 00:02:04 UTC

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

2024-06-22 00:02:05 UTC

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

2024-06-22 00:02:05 UTC

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

Details
Created

2024-06-12 18:15:00 UTC

Size

2.55 GB

Content Digest
Environment
MONGO_DOWNLOAD_SHA256

a59408edea70438c1c9793ecdbc8b2111e44f10dd90f1ed0d2cc8071ae1cc95f

MONGO_DOWNLOAD_URL

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

MONGO_VERSION

6.0.15


Layers

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

[#001] sha256:56a5fd77f8cb6921d3e283f98213bf8c163d3502a75b4a8e4a809a15654f7d1a - 20.82% (544 MB)

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

[#003] sha256:986ae5de0bf78cecccb3a02508d5de59cc404879f5add1c09ac994819c3e1217 - 0.0% (1.27 KB)

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

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

[#006] sha256:250a4b10571f3b9700c2227fa36681ae5c9ed0280b954f2dd1c734df3e0a29ec - 18.9% (494 MB)

[#007] sha256:4466f2283741601c4a6090acbecd4edf8b9d0b11ebeaf2da90b05a93e830d0ad - 0.0% (1.27 KB)

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

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


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

Apply image 10.0.17763.4499

2024-06-07 11:19:50 UTC

Install update 10.0.17763.5936

2024-06-12 18:12:47 UTC

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

2024-06-12 18:12:49 UTC

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

2024-06-12 18:12:50 UTC

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

2024-06-12 18:12:50 UTC

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

2024-06-12 18:14:57 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-06-12 18:14:58 UTC

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

2024-06-12 18:14:59 UTC

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

2024-06-12 18:15:00 UTC

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

Details
Created

2024-04-18 10:01:32 UTC

Size

234 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

6.0

MONGO_PACKAGE

mongodb-org

MONGO_REPO

repo.mongodb.org

MONGO_VERSION

6.0.15

PATH

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


Layers

[#000] sha256:9b10a938e28486049341cb41134e8c0c141b2e25870896c597e2a54df471acbb - 11.15% (26.1 MB)

[#001] sha256:6f33a3006c470fcf35e360ed94e30a65c5fe9f95ce0cf0c9ab2243273d4df519 - 0.0% (1.74 KB)

[#002] sha256:eedf0c2fd07791b0a7c85eaf3c323cc949fdc8675f41c70a6bfff588bab98d26 - 0.6% (1.4 MB)

[#003] sha256:126b0aa21c63b92202a1b2a4c83889ae6fa7dc17252a9538cbc30ff96abd3071 - 0.42% (1000 KB)

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

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

[#006] sha256:defa63f59e94cb014c5f870c882e09a12699621b57c31ff54da87ddb1591d7d5 - 87.83% (205 MB)

[#007] sha256:0d0155a0d755ee3fc7ff86ff8d94f36ab59b06dd93f0b11490d31cfaa6528a77 - 0.0% (4.88 KB)


History
2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 UTC

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

2024-04-18 10:01:32 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-04-18 10:01:32 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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV JSYAML_VERSION=3.13.1

2024-04-18 10:01:32 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-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

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

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ARG MONGO_PACKAGE=mongodb-org

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ARG MONGO_REPO=repo.mongodb.org

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

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

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV MONGO_MAJOR=6.0

2024-04-18 10:01:32 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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV MONGO_VERSION=6.0.15

2024-04-18 10:01:32 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-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

VOLUME [/data/db /data/configdb]

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENV HOME=/data/db

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

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

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-04-18 10:01:32 UTC (buildkit.dockerfile.v0)

EXPOSE map[27017/tcp:{}]

2024-04-18 10:01:32 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