FROM bitnami/minideb-extras:stretch-r150 LABEL maintainer "Bitnami " ENV BITNAMI_PKG_CHMOD="-R g+rwX" \ HOME="/" # Install required system packages and dependencies RUN install_packages libc6 libcomerr2 libcurl3 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libidn11 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libnettle6 libnghttp2-14 libp11-kit0 libpcap0.8 libpsl5 librtmp1 libsasl2-2 libssh2-1 libssl1.0.2 libssl1.1 libtasn1-6 libunistring0 zlib1g RUN bitnami-pkg unpack mongodb-4.1.3-0 --checksum f66d5b4f98f4ae19ea9e542d6da2e84b11af172a4458ce2a135316bae66e35b9 COPY rootfs / ENV BITNAMI_APP_NAME="mongodb" \ BITNAMI_IMAGE_VERSION="4.1.3-debian-9-r11" \ MONGODB_ADVERTISED_HOSTNAME="" \ MONGODB_DATABASE="" \ MONGODB_ENABLE_IPV6="yes" \ MONGODB_PASSWORD="" \ MONGODB_PRIMARY_HOST="" \ MONGODB_PRIMARY_PORT_NUMBER="27017" \ MONGODB_PRIMARY_ROOT_PASSWORD="" \ MONGODB_PRIMARY_ROOT_USER="root" \ MONGODB_REPLICA_SET_KEY="" \ MONGODB_REPLICA_SET_MODE="" \ MONGODB_REPLICA_SET_NAME="replicaset" \ MONGODB_ROOT_PASSWORD="" \ MONGODB_USERNAME="" \ PATH="/opt/bitnami/mongodb/bin:$PATH" EXPOSE 27017 USER 1001 ENTRYPOINT [ "/app-entrypoint.sh" ] CMD [ "/run.sh" ]