FROM docker.io/bitnami/minideb:buster LABEL maintainer "Bitnami " ENV HOME="/" \ OS_ARCH="amd64" \ OS_FLAVOUR="debian-10" \ OS_NAME="linux" COPY prebuildfs / # Install required system packages and dependencies RUN install_packages acl ca-certificates curl gzip libc6 libcom-err2 libcurl4 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libnettle6 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.1 libtasn1-6 libunistring2 numactl procps tar zlib1g RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mongodb-shell" "1.4.2-0" --checksum 10f7f0266c1bb42cb257ef364697bee5d43e670acaec8de7ed2855902c9eb98c RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "yq" "4.25.2-0" --checksum 3f8882ec1dcc0e9b50cdc848fb6e7bed7f0dd80caeef72d33c2209e9e80c2a9f RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.3-0" --checksum 0603c8eaf6d24e76563431e36e512da06bfebb3a06ede31b3e84d9879213c162 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.3-0" --checksum af5ec81cfb8e8420fe6af80a77d40da25e0f7e136abb6dde27267c97fb27cf8b RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mongodb" "5.0.9-0" --checksum e2293dec4c05da4ec625283a30ccf284156e8982395be051aaacb9a8a5e5def6 RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-7" --checksum d6280b6f647a62bf6edc74dc8e526bfff63ddd8067dcb8540843f47203d9ccf1 RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN /opt/bitnami/scripts/mongodb/postunpack.sh ENV APP_VERSION="5.0.9" \ BITNAMI_APP_NAME="mongodb" \ PATH="/opt/bitnami/mongodb/bin:/opt/bitnami/common/bin:$PATH" EXPOSE 27017 USER 1001 ENTRYPOINT [ "/opt/bitnami/scripts/mongodb/entrypoint.sh" ] CMD [ "/opt/bitnami/scripts/mongodb/run.sh" ]