2025-02-13 17:06:44 UTC
273 MB
1.17
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.5~rc2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:5a7813e071bfadf18aaa6ca8318be4824a9b6297b3240f2cc84c1db6f4113040 - 10.4% (28.4 MB)
[#001] sha256:0c460d26d136869d99622184a00d6973011f41511fecd0fb5e519a7db59df321 - 0.0% (1.19 KB)
[#002] sha256:bf8fc6bf9d44bd079c82ba2ed025ee30dcbbe4f5b2e8714635313c3365d32a9b - 0.53% (1.44 MB)
[#003] sha256:be157a31064ea1b09fe0f61ece0c32cbb4b29b051a69fd892452580d358ec882 - 0.4% (1.08 MB)
[#004] sha256:cb9e958c6fc1f24851c6da8935b32c047c7424502fc6269980f69bad0dc773b3 - 0.0% (114 Bytes)
[#005] sha256:19b3dcbb49ca19325358ba788660acb9b0e4d7a103bb71a444fe8e031abd9073 - 0.0% (266 Bytes)
[#006] sha256:5a5521030cf47b491d89d0a1a7662bfba3eda595110394b8eb4123ddac3f89e2 - 0.0% (265 Bytes)
[#007] sha256:2edacec34032b834c8a39beb3add1cd50df4222bc51184e76ee961a695464658 - 88.67% (242 MB)
[#008] sha256:cdbaf17490bde763ad117f65bea86624df6b33c990541098fdb6b439813e4901 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2025-01-27 04:14:00 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-01-27 04:14:00 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-01-27 04:14:00 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2025-01-27 04:14:03 UTC/bin/sh -c #(nop) ADD file:6df775300d76441aa33f31b22c1afce8dfe35c8ffbc14ef27c27009235b12a95 in /
2025-01-27 04:14:03 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-02-13 17:06:44 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
2025-02-13 17:06:44 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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2025-02-13 17:06:44 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.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2025-02-13 17:06:44 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
2025-02-13 17:06:44 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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.5~rc2
2025-02-13 17:06:44 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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2025-02-13 17:06:44 UTC
262 MB
1.17
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.5~rc2
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:5b17151e9710ed47471b3928b05325fa4832121a395b9647b7e50d3993e17ce0 - 10.53% (27.6 MB)
[#001] sha256:ce75871616d1f040379b78f076d89ecfea3f19b84e1ba96411ee0e9088684dec - 0.0% (1.19 KB)
[#002] sha256:be1ba4872ad7795f2c8f784298bdb31c787b73e30b1fdc5d581adc5b5f1dca61 - 0.54% (1.42 MB)
[#003] sha256:fc0f76883f965662dad2f722e97119e03ba565faaa4df4802881ed5f27aa03c9 - 0.39% (1.01 MB)
[#004] sha256:f1dc9b027cf44f7e10595be1474db451783c426a3591a9c396855ff049ab59b6 - 0.0% (116 Bytes)
[#005] sha256:b3ad8707fc56d0971ba16ab955cfc778054c9d0bc27826530d1b70040ef51dfc - 0.0% (266 Bytes)
[#006] sha256:37554c5a9bad9af7a64408e24a0df2d5126a0765ce18ffc237e9544a2b3eaaff - 0.0% (266 Bytes)
[#007] sha256:4f82a54a1aae92965e60e728cca9741e03bd13994a41636b679a0fd5c0ca2e6a - 88.54% (232 MB)
[#008] sha256:9c27611fb25e2684666d82ce85407b1fb483524623cdf6f633a5315f79df7103 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2025-01-27 04:14:51 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-01-27 04:14:51 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-01-27 04:14:51 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
2025-01-27 04:14:54 UTC/bin/sh -c #(nop) ADD file:68158f1ff76fd4de9f92666ad22571e6cd11df166255c2814a135773fdd6acd7 in /
2025-01-27 04:14:54 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-02-13 17:06:44 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
2025-02-13 17:06:44 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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2025-02-13 17:06:44 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.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2025-02-13 17:06:44 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
2025-02-13 17:06:44 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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.5~rc2
2025-02-13 17:06:44 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
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-02-13 17:06:44 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2025-02-13 17:06:44 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.