39 lines
1.8 KiB
Docker
39 lines
1.8 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
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 jq libbz2-1.0 libc6 libffi6 libgcc1 liblzma5 libncursesw6 libreadline7 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 procps tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "python" "3.8.12-3" --checksum 8f7859ab9651065b2fcf37dfa4edcf5af0cd70614bb06b4ca782295a0a4435d2
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "node" "12.22.7-0" --checksum 4948e6f73f2724a8444cb33956acc9985dc7898d636eb8cd389fbc62af637370
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "parse-dashboard" "2.2.0-0" --checksum 157879a2a8123d5d794907cca7cb34caf8f3dca69c3aeed2dfb53f5d8a3293a5
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-0" --checksum 3e6fc37ca073b10a73a804d39c2f0c028947a1a596382a4f8ebe43dfbaa3a25e
|
|
RUN chmod g+rwX /opt/bitnami
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/parse-dashboard/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="parse-dashboard" \
|
|
BITNAMI_IMAGE_VERSION="2.2.0-debian-10-r58" \
|
|
PARSE_APP_ID="myappID" \
|
|
PARSE_DASHBOARD_APP_NAME="" \
|
|
PARSE_DASHBOARD_PASSWORD="bitnami" \
|
|
PARSE_DASHBOARD_USER="" \
|
|
PARSE_HOST="parse" \
|
|
PARSE_MASTER_KEY="mymasterKey" \
|
|
PARSE_MOUNT_PATH="/parse" \
|
|
PARSE_PORT_NUMBER="1337" \
|
|
PARSE_PROTOCOL="http" \
|
|
PARSE_USE_HOSTNAME="no" \
|
|
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/parse-dashboard/bin:/opt/bitnami/common/bin:$PATH"
|
|
|
|
EXPOSE 3000 4040
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/parse-dashboard/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/parse-dashboard/run.sh" ]
|