[bitnami/reportserver] Release 4.6.2-6102-debian-11-r2 (#55256)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-01-22 13:23:38 +01:00
committed by GitHub
parent dbbd1ef6a4
commit 6a476db074
3 changed files with 64 additions and 78 deletions

View File

@@ -8,10 +8,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2024-01-07T12:36:29Z" \
org.opencontainers.image.created="2024-01-22T10:35:03Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="4.6.2-6102-debian-11-r1" \
org.opencontainers.image.ref.name="4.6.2-6102-debian-11-r2" \
org.opencontainers.image.title="reportserver" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="4.6.2-6102"
@@ -27,11 +27,11 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libaudit1 libcap-ng0 libgcc-s1 libicu67 liblzma5 libncurses6 libpam0g libssl1.1 libstdc++6 libtinfo6 libxml2 procps xmlstarlet zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"java-17.0.9-11-6-linux-${OS_ARCH}-debian-11" \
"tomcat-9.0.84-0-linux-${OS_ARCH}-debian-11" \
"render-template-1.0.6-5-linux-${OS_ARCH}-debian-11" \
"java-17.0.10-13-0-linux-${OS_ARCH}-debian-11" \
"tomcat-9.0.85-0-linux-${OS_ARCH}-debian-11" \
"mysql-client-10.11.6-1-linux-${OS_ARCH}-debian-11" \
"reportserver-4.6.2-6102-0-linux-${OS_ARCH}-debian-11" \
"render-template-1.0.6-4-linux-${OS_ARCH}-debian-11" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -46,6 +46,7 @@ RUN apt-get autoremove --purge -y curl && \
apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN /opt/bitnami/scripts/java/postunpack.sh
@@ -55,7 +56,7 @@ RUN /opt/bitnami/scripts/tomcat/postunpack.sh
ENV APP_VERSION="4.6.2-6102" \
BITNAMI_APP_NAME="reportserver" \
JAVA_HOME="/opt/bitnami/java" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/tomcat/bin:/opt/bitnami/mysql/bin:/opt/bitnami/common/bin:$PATH" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/java/bin:/opt/bitnami/tomcat/bin:/opt/bitnami/mysql/bin:$PATH" \
TOMCAT_START_RETRIES="60"
EXPOSE 8009 8080 8443

View File

@@ -3,7 +3,7 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "17.0.9-11-6"
"version": "17.0.10-13-0"
},
"mysql-client": {
"arch": "amd64",
@@ -15,7 +15,7 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.0.6-4"
"version": "1.0.6-5"
},
"reportserver": {
"arch": "amd64",
@@ -27,6 +27,6 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "9.0.84-0"
"version": "9.0.85-0"
}
}

View File

@@ -10,8 +10,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
## TL;DR
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/reportserver/docker-compose.yml > docker-compose.yml
docker-compose up -d
docker run --name reportserver bitnami/reportserver:latest
```
**Warning**: This quick setup is only intended for development environments. You are encouraged to change the insecure default credentials and check out the available configuration options in the [Environment Variables](#environment-variables) section for a more secure deployment.
@@ -65,19 +64,8 @@ docker build -t bitnami/APP:latest .
ReportServer Community requires access to a MySQL or MariaDB database to store information. We'll use the [Bitnami Docker Image for MariaDB](https://github.com/bitnami/containers/tree/main/bitnami/mariadb) for the database requirements.
### Run the application using Docker Compose
The main folder of this repository contains a functional [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file. Run the application using it as shown below:
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/reportserver/docker-compose.yml > docker-compose.yml
docker-compose up -d
```
### Using the Docker Command Line
If you want to run the application manually instead of using `docker-compose`, these are the basic steps you need to run:
#### Step 1: Create a network
```console
@@ -115,6 +103,17 @@ docker run -d --name reportserver \
Access your application at `http://your-ip/`
### Run the application using Docker Compose
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/reportserver/docker-compose.yml > docker-compose.yml
docker-compose up -d
```
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes.
If you detect any issue in the `docker-compose.yaml` file, feel free to report it or contribute with a fix by following our [Contributing Guidelines](https://github.com/bitnami/containers/blob/main/CONTRIBUTING.md).
## Persisting your application
If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed.
@@ -190,9 +189,39 @@ docker run -d --name reportserver \
### Environment variables
#### Customizable environment variables
| Name | Description | Default Value |
|-------------------------------------|-----------------------------------|-------------------------------------------------------------------|
| `REPORTSERVER_INSTALL_DEMO_DATA` | Whether to install demo data. | `no` |
| `REPORTSERVER_USERNAME` | ReportServer user name. | `user` |
| `REPORTSERVER_PASSWORD` | ReportServer user password. | `bitnami` |
| `REPORTSERVER_EMAIL` | ReportServer user e-mail address. | `user@example.com` |
| `REPORTSERVER_FIRST_NAME` | ReportServer user first name. | `FirstName` |
| `REPORTSERVER_LAST_NAME` | ReportServer user last name. | `LastName` |
| `REPORTSERVER_SMTP_PROTOCOL` | Enable SMTP SSL. | `tls` |
| `REPORTSERVER_DATABASE_HOST` | Database server host. | `$REPORTSERVER_DEFAULT_DATABASE_HOST` |
| `REPORTSERVER_DATABASE_PORT_NUMBER` | Database server port. | `3306` |
| `REPORTSERVER_DATABASE_NAME` | Database name. | `bitnami_reportserver` |
| `REPORTSERVER_DATABASE_USER` | Database user name. | `bn_reportserver` |
| `TOMCAT_EXTRA_JAVA_OPTS` | Tomcat extra java options. | `$TOMCAT_EXTRA_JAVA_OPTS -Drs.configdir=${REPORTSERVER_CONF_DIR}` |
#### Read-only environment variables
| Name | Description | Value |
|---------------------------------------|---------------------------------------|----------------------------------------------------|
| `REPORTSERVER_BASE_DIR` | ReportServer installation directory. | `${BITNAMI_ROOT_DIR}/reportserver` |
| `REPORTSERVER_CONF_DIR` | ReportServer configuration directory. | `${REPORTSERVER_BASE_DIR}/WEB-INF/classes` |
| `REPORTSERVER_CONF_FILE` | Configuration file for ReportServer. | `${REPORTSERVER_CONF_DIR}/reportserver.properties` |
| `REPORTSERVER_DAEMON_USER` | ReportServer system user. | `tomcat` |
| `REPORTSERVER_DAEMON_GROUP` | ReportServer system group. | `tomcat` |
| `REPORTSERVER_DEFAULT_DATABASE_HOST` | Default database server host. | `mariadb` |
| `REPORTSERVER_DEFAULT_DATABASE_HOST` | Default database server host. | `127.0.0.1` |
| `REPORTSERVER_TOMCAT_AJP_PORT_NUMBER` | Tomcat AJP port number. | `8009` |
When you start the ReportServer Community image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable:
- For docker-compose add the variable name and value under the application section in the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file present in this repository:
* For docker-compose add the variable name and value under the application section in the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file present in this repository:
```yaml
reportserver:
@@ -202,7 +231,7 @@ When you start the ReportServer Community image, you can adjust the configuratio
...
```
- For manual execution add a `--env` option with each variable and value:
* For manual execution add a `--env` option with each variable and value:
```console
$ docker run -d --name reportserver -p 80:8080 -p 443:8443 \
@@ -212,57 +241,13 @@ When you start the ReportServer Community image, you can adjust the configuratio
bitnami/reportserver:latest
```
Available environment variables:
### Examples
#### User and Site configuration
- `REPORTSERVER_USERNAME`: ReportServer Community application username. Default: **user**
- `REPORTSERVER_PASSWORD`: ReportServer Community application password. Default: **bitnami**
- `REPORTSERVER_EMAIL`: ReportServer Community application email. Default: **user@example.com**
- `REPORTSERVER_FIRST_NAME`: ReportServer Community first name. Default: **FirstName**
- `REPORTSERVER_LAST_NAME`: ReportServer Community last name. Default: **LastName**
#### Database connection configuration
- `REPORTSERVER_DATABASE_HOST`: Hostname for the MariaDB or MySQL server. Default: **mariadb**
- `REPORTSERVER_DATABASE_PORT_NUMBER`: Port used by the MariaDB or MySQL server. Default: **3306**
- `REPORTSERVER_DATABASE_NAME`: Database name that ReportServer Community will use to connect with the database. Default: **bitnami_reportserver**
- `REPORTSERVER_DATABASE_USER`: Database user that ReportServer Community will use to connect with the database. Default: **bn_reportserver**
- `REPORTSERVER_DATABASE_PASSWORD`: Database password that ReportServer Community will use to connect with the database. No default.
- `ALLOW_EMPTY_PASSWORD`: It can be used to allow blank passwords. Default: **no**
#### Create a database for ReportServer Community using mysql-client
- `MYSQL_CLIENT_DATABASE_HOST`: Hostname for the MariaDB or MySQL server. Default: **mariadb**
- `MYSQL_CLIENT_DATABASE_PORT_NUMBER`: Port used by the MariaDB or MySQL server. Default: **3306**
- `MYSQL_CLIENT_DATABASE_ROOT_USER`: Database admin user. Default: **root**
- `MYSQL_CLIENT_DATABASE_ROOT_PASSWORD`: Database password for the database admin user. No default.
- `MYSQL_CLIENT_CREATE_DATABASE_NAME`: New database to be created by the mysql client module. No default.
- `MYSQL_CLIENT_CREATE_DATABASE_USER`: New database user to be created by the mysql client module. No default.
- `MYSQL_CLIENT_CREATE_DATABASE_PASSWORD`: Database password for the `MYSQL_CLIENT_CREATE_DATABASE_USER` user. No default.
- `MYSQL_CLIENT_CREATE_DATABASE_CHARACTER_SET`: Character set to use for the new database. No default.
- `MYSQL_CLIENT_CREATE_DATABASE_COLLATE`: Database collation to use for the new database. No default.
- `MYSQL_CLIENT_ENABLE_SSL`: Whether to enable SSL connections for the new database. Default: **no**
- `MYSQL_CLIENT_SSL_CA_FILE`: Path to the SSL CA file for the new database. No default.
- `ALLOW_EMPTY_PASSWORD`: It can be used to allow blank passwords. Default: **no**
#### SMTP Configuration
To configure ReportServer Community to send email using SMTP you can set the following environment variables:
- `REPORTSERVER_SMTP_HOST`: SMTP host.
- `REPORTSERVER_SMTP_PORT`: SMTP port.
- `REPORTSERVER_SMTP_USER`: SMTP account user.
- `REPORTSERVER_SMTP_PASSWORD`: SMTP account password.
- `REPORTSERVER_SMTP_PROTOCOL`: If specified, SMTP protocol to use. Allowed values: *tls*, *ssl*. No default.
#### Examples
##### SMTP configuration using a Gmail account
#### SMTP configuration using a Gmail account
This would be an example of SMTP configuration using a Gmail account:
- Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file present in this repository:
* Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file present in this repository:
```yaml
reportserver:
@@ -278,7 +263,7 @@ This would be an example of SMTP configuration using a Gmail account:
...
```
- For manual execution:
* For manual execution:
```console
$ docker run -d --name reportserver -p 80:8080 -p 443:8443 \
@@ -293,11 +278,11 @@ This would be an example of SMTP configuration using a Gmail account:
bitnami/reportserver:latest
```
##### Connect ReportServer Community container to an existing database
#### Connect ReportServer Community container to an existing database
The Bitnami ReportServer Community container supports connecting the ReportServer Community application to an external database. This would be an example of using an external database for ReportServer Community.
- Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file present in this repository:
* Modify the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/reportserver/docker-compose.yml) file present in this repository:
```diff
reportserver:
@@ -313,7 +298,7 @@ The Bitnami ReportServer Community container supports connecting the ReportServe
...
```
- For manual execution:
* For manual execution:
```console
$ docker run -d --name reportserver\
@@ -447,12 +432,12 @@ More information is available from the [ReportServer website](https://reportserv
### 3.7.0-6044-debian-10-r52
- The size of the container image has been reduced.
- The configuration logic is now based on Bash scripts in the *rootfs/* folder.
* The size of the container image has been reduced.
* The configuration logic is now based on Bash scripts in the *rootfs/* folder.
### 3.1.2-6022-debian-10-r23
- Java distribution has been migrated from AdoptOpenJDK to OpenJDK Liberica. As part of VMware, we have an agreement with Bell Software to distribute the Liberica distribution of OpenJDK. That way, we can provide support & the latest versions and security releases for Java.
* Java distribution has been migrated from AdoptOpenJDK to OpenJDK Liberica. As part of VMware, we have an agreement with Bell Software to distribute the Liberica distribution of OpenJDK. That way, we can provide support & the latest versions and security releases for Java.
## Contributing