49 lines
2.5 KiB
Docker
49 lines
2.5 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"
|
|
|
|
ARG JAVA_EXTRA_SECURITY_DIR="/bitnami/java/extra-security"
|
|
|
|
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.13-0" --checksum 9552e53ccd3b0ec85a82c31c26a1462260e28b7c58770a5c53560afb02ec66d9
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "tomcat" "9.0.54-2" --checksum d941146609892ed1f274f0a4d4b96c7fe51a079758513536dd06e16510a237b6
|
|
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.1-1" --checksum 00722b62c7561929e039877a6e445a4bb782c340890c0a090fdae3c9e1960161
|
|
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/java/postunpack.sh
|
|
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-r57" \
|
|
JAVA_HOME="/opt/bitnami/java" \
|
|
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" ]
|