2023-12-19 19:08:50 UTC
236 MB
1.16
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJOR6.0
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION6.0.12
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:29202e855b2021a2d7f92800619ed5f5e8ac402e267cfbb3d29a791feb13c1ee - 11.93% (28.2 MB)
[#001] sha256:7ebdd825354e883a90a47c15b948118cc341596bdd51f71c94c2b7ea8e1652c7 - 0.0% (1.74 KB)
[#002] sha256:ce60d5e9abd47b5ebc32307564be20ed0df6b7678caac9a91569e65d9ca582c4 - 2.04% (4.82 MB)
[#003] sha256:fc08aafe5d71fc1337afa96203a59f9d5ab03fc1bc9b4ca0032b27d4fafddc63 - 0.44% (1.05 MB)
[#004] sha256:06c1362eef20689baca8b21e8b3774063bd2942db5ca794676d123c4243bc95c - 0.0% (116 Bytes)
[#005] sha256:8de56dc19eb68bcb2b0dffdf597d410c243b63a4eced489ec3a29d054a7441cb - 0.0% (1.37 KB)
[#006] sha256:3a8b9dc65255f44626861d92bebce4930aa99e72ad9fc98adcbdc302f870b635 - 0.0% (263 Bytes)
[#007] sha256:3c96fd4a8647d572a6b7d43b22f9f9e46e25330cd96ede652b5e721af0e6b318 - 85.58% (202 MB)
[#008] sha256:4f139fcb00c83c555129e433bd43ceb2b4aefbe039cc260186d5245aa8cbb288 - 0.0% (4.88 KB)
/bin/sh -c #(nop) ARG RELEASE
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) ADD file:c646150c866c8b5ece67bc79c610718acf858034fa22502b0dba3d38c53fc9a9 in /
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-12-19 19:08:50 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
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.16
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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; 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
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '39BD841E4BE5FB195A65400E6A26B1AE64C3C388'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=6.0
2023-12-19 19:08:50 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.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=6.0.12
2023-12-19 19:08:50 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
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)CMD ["mongod"]
2023-12-19 19:08:50 UTC
229 MB
1.16
HOME/data/db
JSYAML_VERSION3.13.1
MONGO_MAJOR6.0
MONGO_PACKAGEmongodb-org
MONGO_REPOrepo.mongodb.org
MONGO_VERSION6.0.12
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:ce9ebea987c26664d067f7e14c93231c6d303e4acb322f15ddbf05b414646d64 - 11.38% (26.1 MB)
[#001] sha256:6bff83b454cc4ba45c11a9ab7b50b075c4ebb4cdd441d079c096276cdf568b53 - 0.0% (1.75 KB)
[#002] sha256:9ea2c80cbb3b35f304679783e06b6220e9620dba964cb97800f786ef04696945 - 2.08% (4.76 MB)
[#003] sha256:6467c6c2b6cab5d20978a2a487a45c7addfcb07b71b83ef5eb096bee090becfb - 0.43% (1010 KB)
[#004] sha256:46127fbd2d5e71bd51881fac2905f1e939d37284cc95e56fb886e09eed183ecf - 0.0% (116 Bytes)
[#005] sha256:3afdd67851025f57ef71b217c98522506ec95f1473cec4bc413a96f8a877bd73 - 0.0% (1.37 KB)
[#006] sha256:171bc05d9a33e2528feda774c41d574aed1898ed95f201e378000f666a32de07 - 0.0% (267 Bytes)
[#007] sha256:1f15ed16e186ef5b1e210f0bdac3c31a6d33bd22e6b68a326d09414fe162a63c - 86.12% (198 MB)
[#008] sha256:67827aee8c43d470bfe99aa46471ad32ea7dca9972bd52877ac8a4bb61868b23 - 0.0% (4.87 KB)
/bin/sh -c #(nop) ARG RELEASE
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) ADD file:5703a6689620ec495e864cfc12e80f8b2ee9e69b1a7b7365bf80955ba05a53ab in /
2023-12-19 19:08:50 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2023-12-19 19:08:50 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
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.16
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV JSYAML_VERSION=3.13.1
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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; 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
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '39BD841E4BE5FB195A65400E6A26B1AE64C3C388'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ARG MONGO_PACKAGE=mongodb-org
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ARG MONGO_REPO=repo.mongodb.org
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV MONGO_MAJOR=6.0
2023-12-19 19:08:50 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.gpg ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV MONGO_VERSION=6.0.12
2023-12-19 19:08:50 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
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)VOLUME [/data/db /data/configdb]
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENV HOME=/data/db
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2023-12-19 19:08:50 UTC (buildkit.dockerfile.v0)EXPOSE map[27017/tcp:{}]
2023-12-19 19:08:50 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.