2025-01-15 17:01:19 UTC
251 MB
1.17
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION5.0.31~rc1
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d9802f032d6798e2086607424bfe88cb8ec1d6f116e11cd99592dcaf261e9cd2 - 10.43% (26.2 MB)
[#001] sha256:b9f7aca2b377af02bdd5742f92e167772844de692510be1fa644ddf2512ac477 - 0.0% (1.74 KB)
[#002] sha256:06e3bbf91afcee6676662b2286953084c24da38e1cfc3eab707214b29b6c4991 - 1.17% (2.95 MB)
[#003] sha256:e2c0ab8e9bd536a901310dfc209d1065cee3a07ea11dadf97a9a7479e711b769 - 0.41% (1.04 MB)
[#004] sha256:f3add133aed1c010083fc8fa34f4a76826b0be7a62e75c9da7b102b9094b39a0 - 0.0% (116 Bytes)
[#005] sha256:8aff674c2cb6c0cfac8d72ec8ca26744fe88a356563888b2c209f656f5a3bd29 - 0.0% (261 Bytes)
[#006] sha256:b2a814c5d40e3934b49a05c6c6efaeba6805f956884962c911385ca9a5e61efd - 0.0% (261 Bytes)
[#007] sha256:8896cd2d0144955fad99bda31c72ce6b7c31f549b9a288f4c1fe5620f9abcf00 - 87.98% (221 MB)
[#008] sha256:8492a4b6e74787ce7cc572abdab1e515def1adb502e6c6815776a54234c955a3 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-11 03:38:25 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-10-11 03:38:27 UTC/bin/sh -c #(nop) ADD file:7486147a645d8835a5181c79f00a3606c6b714c83bcbfcd8862221eb14690f9e in /
2024-10-11 03:38:27 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-15 17:01:19 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-01-15 17:01:19 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-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2025-01-15 17:01:19 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-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /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-01-15 17:01:19 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2025-01-15 17:01:19 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 focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2025-01-15 17:01:19 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 focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=5.0.31~rc1
2025-01-15 17:01:19 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 && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2025-01-15 17:01:19 UTC
242 MB
1.17
HOME/data/db
JSYAML_CHECKSUM662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION5.0.31~rc1
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:1b9f3c55f9d4aa5c52eb67a4cb7d0f4726ab85a413b50e3e3fe788befce3d297 - 10.25% (24.8 MB)
[#001] sha256:57ebb0061a0ea9c488b3dd3454afe6fc82782c489466a9a818824bed1a260bd6 - 0.0% (1.74 KB)
[#002] sha256:14e28e086046528e89c6a630e6eea21f9bbec21c2eaeb6efed521b394d3e29dd - 1.16% (2.81 MB)
[#003] sha256:f78466610c70775f3ce3c3ba5c73aa684570ed0a02199eb60aa919463e188f5b - 0.4% (1000 KB)
[#004] sha256:db1925f6083b77955a1107a23ca2df0b1f4feaac61ddbcb880077d848294c936 - 0.0% (116 Bytes)
[#005] sha256:d0c74a4bedae3fc735e4f1396418482703ca8d6c2cef40841c0a16d5d396823e - 0.0% (261 Bytes)
[#006] sha256:fb9f731a9715ca3e9e93256dfc2b7d5dc3773281f6009703e64ef448ce46600e - 0.0% (262 Bytes)
[#007] sha256:ca02ecf05a7b48f5e369fecc6a5e818e72b357a6cc47a2a554588309a28f4a91 - 88.18% (213 MB)
[#008] sha256:fe13f8e870643a7e7b32e0a2e098a32c056c95415aa4e0793b9779e6a9ac08bf - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-10-11 03:39:45 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-10-11 03:39:45 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-10-11 03:39:45 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=20.04
2024-10-11 03:39:47 UTC/bin/sh -c #(nop) ADD file:8537b4db344382b39d669af27cd94ec0f870ceafe58c67ee54e3f9b38fb8d671 in /
2024-10-11 03:39:47 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-01-15 17:01:19 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-01-15 17:01:19 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-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
2025-01-15 17:01:19 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-5.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '28DE23AF08040FB24C33F36381B0EBBBADCEA95C' 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' > /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-01-15 17:01:19 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2025-01-15 17:01:19 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 focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2025-01-15 17:01:19 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 focal/${MONGO_PACKAGE%-unstable}/5.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-5.0.list" # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=5.0.31~rc1
2025-01-15 17:01:19 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 && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-01-15 17:01:19 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2025-01-15 17:01:19 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.