mirror of
https://github.com/bitnami/containers.git
synced 2026-03-09 15:40:15 +08:00
45 lines
2.4 KiB
Docker
45 lines
2.4 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 fontconfig fonts-dejavu-extra gzip libaudit1 libc6 libcap-ng0 libgcc1 libicu63 libjemalloc2 liblzma5 libncurses6 libpam0g libssl1.1 libstdc++6 libtinfo6 libxml2 procps tar xmlstarlet zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "java" "11.0.12-0" --checksum 14c1274e93b1135d4d1b82ad7985fc2fa7f5d0689b6da18e0c94da37407cd4ea
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "tomcat" "9.0.53-0" --checksum 63d3a6c30b56241d449b4c94d1aba87541916afc5521725983b4c628faeeb53b
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "mysql-client" "10.3.31-2" --checksum 15b394a022ca1d0b4b89bfee0487ee13f9e8cc697d0ca09ce62a0a3732536236
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "reportserver" "3.7.1-6046-0" --checksum 880bf1ae14f7ccfc3635d3920ff66830e787e1290ca909b909a0b5613a473d8b
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "render-template" "1.0.0-3" --checksum 8179ad1371c9a7d897fe3b1bf53bbe763f94edafef19acad2498dd48b3674efe
|
|
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/mysql-client/postunpack.sh
|
|
RUN /opt/bitnami/scripts/reportserver/postunpack.sh
|
|
RUN /opt/bitnami/scripts/tomcat/postunpack.sh
|
|
ENV ALLOW_EMPTY_PASSWORD="no" \
|
|
BITNAMI_APP_NAME="reportserver" \
|
|
BITNAMI_IMAGE_VERSION="3.7.1-6046-debian-10-r11" \
|
|
MARIADB_HOST="mariadb" \
|
|
MARIADB_PORT_NUMBER="3306" \
|
|
MARIADB_ROOT_PASSWORD="" \
|
|
MARIADB_ROOT_USER="root" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_NAME="" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_PASSWORD="" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_PRIVILEGES="ALL" \
|
|
MYSQL_CLIENT_CREATE_DATABASE_USER="" \
|
|
MYSQL_CLIENT_ENABLE_SSL="no" \
|
|
MYSQL_CLIENT_SSL_CA_FILE="" \
|
|
PATH="/opt/bitnami/java/bin:/opt/bitnami/tomcat/bin:/opt/bitnami/mysql/bin:/opt/bitnami/common/bin:$PATH" \
|
|
TOMCAT_START_RETRIES="60"
|
|
|
|
EXPOSE 8009 8080 8443
|
|
|
|
USER 1001
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/reportserver/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/tomcat/run.sh" ]
|