41 lines
1.8 KiB
Docker
41 lines
1.8 KiB
Docker
FROM bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
|
HOME="/" \
|
|
PATH="/opt/bitnami/node/bin:/opt/bitnami/mongodb/bin:/opt/bitnami/parse/bin:/opt/bitnami/nami/bin:$PATH"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages ca-certificates curl dirmngr ghostscript gnupg imagemagick libbz2-1.0 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 libncursesw6 libnettle6 libnghttp2-14 libp11-kit0 libpsl5 libreadline7 librtmp1 libsasl2-2 libsqlite3-0 libssh2-1 libssl1.1 libstdc++6 libtasn1-6 libtinfo6 libunistring2 procps sudo unzip zlib1g
|
|
RUN /build/bitnami-user.sh
|
|
RUN /build/install-nami.sh
|
|
RUN bitnami-pkg install node-12.16.1-0 --checksum 36bab987be1cc792c7155e30545b004b76fc9a81796afec343a0a698935204b2
|
|
RUN bitnami-pkg install mongodb-client-4.2.3-0 --checksum 153ec5ac970d7ef377b06ba56de206e51bb7407028b9d33b68d6860ea04b9fe7
|
|
RUN bitnami-pkg unpack parse-3.10.0-0 --checksum 04f6d66c9a452f1d9a7ac09acdc9f15fefe1f4d17fe040d4caa9204134cf90be
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN /build/install-gosu.sh
|
|
RUN /build/install-tini.sh
|
|
|
|
COPY rootfs /
|
|
ENV BITNAMI_APP_NAME="parse" \
|
|
BITNAMI_IMAGE_VERSION="3.10.0-debian-10-r39" \
|
|
MONGODB_HOST="mongodb" \
|
|
MONGODB_PASSWORD="" \
|
|
MONGODB_PORT_NUMBER="27017" \
|
|
MONGODB_USER="root" \
|
|
NAMI_PREFIX="/.nami" \
|
|
PARSE_APP_ID="myappID" \
|
|
PARSE_ENABLE_CLOUD_CODE="no" \
|
|
PARSE_HOST="127.0.0.1" \
|
|
PARSE_MASTER_KEY="mymasterKey" \
|
|
PARSE_MOUNT_PATH="/parse" \
|
|
PARSE_PORT_NUMBER="1337"
|
|
|
|
EXPOSE 1337
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
|
CMD [ "/run.sh" ]
|