2024-06-21 10:01:41 UTC
267 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc9
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:3713021b02770a720dea9b54c03d0ed83e03a2ef5dce2898c56a327fee9a8bca - 10.53% (28.2 MB)
[#001] sha256:39bdcacccd9761e2d61780030bcd45f245b518b8a809ce4c4c9482a0c55e7538 - 0.0% (1.74 KB)
[#002] sha256:3cdb3cdabeeacb066c73875394256f7b05940fb2b8f773c6972f3052810c52a8 - 0.54% (1.43 MB)
[#003] sha256:44dfb83324ac329cdafd8c95d2119890c17087fe346a3929b64003d184fad185 - 0.39% (1.05 MB)
[#004] sha256:091a7990873d9ed83419722cfd149480ba8e3594e67fd3570bea80e7b7d08705 - 0.0% (116 Bytes)
[#005] sha256:ec9ad92663fc3929f343729c02b5b5dc2453ed692c40a356023d47f6e3098e7b - 0.0% (265 Bytes)
[#006] sha256:85fce7779b9faaf1f86c2791005d03a5759f987d8a66e45d2bfaa4dbee58be31 - 0.0% (268 Bytes)
[#007] sha256:3636f22d7f2fbbd6d781ee246c95f831b261d3bd39e7dc7a9d7add9c7d7267d2 - 88.54% (237 MB)
[#008] sha256:83bac29352b3bf3ca86a1e4520e81b23707e0503bf0a6cd85e29e77bcc5093b3 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) ADD file:d5da92199726e42da09a6f75a778befb607fe3f79e4afaf7ef5188329b26b386 in /
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-06-21 10: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-06-21 10: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-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-06-21 10: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-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-06-21 10:01:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-06-21 10: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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-06-21 10: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 jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-previous.list" # buildkit
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc9
2024-06-21 10: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-06-21 10:01:41 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2024-06-21 10:01:41 UTC
259 MB
1.17
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJORtesting
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION8.0.0~rc9
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:4ce000a43472e4a2527834764b5044674760f1e2a766480798d03a93b51a0b39 - 10.08% (26.1 MB)
[#001] sha256:31884fd206c88e23f26415a3b42f7eb8bb3f077ab4a83c263894fc97c742f601 - 0.0% (1.74 KB)
[#002] sha256:85a322bad11a3dfbe5821d19f93c35cf813768e29029b4a58a359b6e0f552c72 - 0.54% (1.4 MB)
[#003] sha256:c2bb6f001c6f63631dcfe336d8679f67a8ddc0e714cc7928543450a4e2353aa2 - 0.38% (1000 KB)
[#004] sha256:27ff8bb76f905de33c9a891184d389876fd4dbe59788f9e5fea0e2cb9d8a9ea3 - 0.0% (116 Bytes)
[#005] sha256:cc7ce911162d7901cc1939ffe6e8317862ba40720e7aabbfdeed3f6c5d81ff46 - 0.0% (266 Bytes)
[#006] sha256:d05fc2fc552477580f0f593894161d3cdeb3127af33df32bb1e353f4362eca35 - 0.0% (269 Bytes)
[#007] sha256:172ccae02effd6dffdfee0740f426359508389ae31aaf6997105d89a869693b2 - 89.0% (230 MB)
[#008] sha256:b652bb10621d6da276ac324f1289c0a11906579fecaec4674f501ae35ebd3423 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) ADD file:2bed1fbf8253926f27dc275983c274712d836e9b6acdb1059d29c072d8f63a03 in /
2024-06-21 10:01:41 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-06-21 10: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-06-21 10: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-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2024-06-21 10: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-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-06-21 10:01:41 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=testing
2024-06-21 10: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 jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2024-06-21 10: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 jammy/${MONGO_PACKAGE%-unstable}/7.0 multiverse" | tee "/etc/apt/sources.list.d/mongodb-previous.list" # buildkit
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=8.0.0~rc9
2024-06-21 10: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-06-21 10:01:41 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-21 10:01:41 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2024-06-21 10:01:41 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.