Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions OracleAnalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Sample container configurations facilitate
installation, configuration, and environment setup for DevOps users.
This project includes quick start
[container](dockerfiles/) for Oracle Analytics Server 2022 (6.4)
based on Oracle Linux 7, Oracle JRE 8 (Server),
[container](dockerfiles/) for Oracle Analytics Server 2025 (8.2)
based on Oracle Linux 8, Oracle JRE 8 (Server),
and Oracle Fusion Middleware Infrastructure 12.2.1.4.0.

For more information about Oracle Analytics Server,
Expand Down Expand Up @@ -32,7 +32,7 @@ you must use PDB when creating the schemas because CDB isn’t supported.
You can create an Oracle Database container by using an
[OracleDatabase](https://github.com/oracle/docker-images/tree/master/OracleDatabase)
image.
Follow these instructions to create a 12.1 or 12.2 Enterprise Edition database.
Follow these instructions to create a 12.1+ / 12.2+ / 19+ / 21c / 23ai Enterprise Edition database.

## Oracle Analytics Server Container Image Creation

Expand All @@ -41,8 +41,8 @@ Before you can build a BI image, you will need to build the [Oracle Java](https:
### Building the Oracle Analytics Server Image

Download the binaries for
[Oracle Analytics Server 2022 (6.4)](https://www-sites.oracle.com/solutions/business-analytics/analytics-server/analytics-server.html)
for Linux x86-64-bit into the folder `OracleAnalytics/dockerfiles/6.4`.
[Oracle Analytics Server 2025 (8.2)](https://www-sites.oracle.com/solutions/business-analytics/analytics-server/analytics-server.html)
for Linux x86-64-bit into the folder `OracleAnalytics/dockerfiles/2025`.

If you need a proxy for the host to access yum.oracle.com during build,
first set up the appropriate environment. For example:
Expand All @@ -57,22 +57,22 @@ Build the image:

```bash
cd OracleAnalytics/dockerfiles
./buildContainerImage.sh -v 6.4
./buildContainerImage.sh -v 2025
```

Sample command(s) for users who don't want to use the above script to build the image:

```bash
# without proxy
docker build --force-rm=true --no-cache=true -t oracle/analyticsserver:6.4 -f Dockerfile .
docker build --force-rm=true --no-cache=true -t oracle/analyticsserver:2025 -f Dockerfile .

# with proxy
docker build --force-rm=true --no-cache=true --build-arg http_proxy=http://myproxy.example.com:80 --build-arg https_proxy=https://myproxy.example.com:80 -t oracle/analyticsserver:6.4 -f Dockerfile .
docker build --force-rm=true --no-cache=true --build-arg http_proxy=http://myproxy.example.com:80 --build-arg https_proxy=https://myproxy.example.com:80 -t oracle/analyticsserver:2025 -f Dockerfile .
```

### Building the Oracle Analytics Server Patched Image

See the [Oracle Analytics patched image documentation](./patches/6.4-patch) for details.
See the [Oracle Analytics patched image documentation](./patches/2025-patch) for details.

## Creating an Oracle Analytics Server Container

Expand Down Expand Up @@ -108,7 +108,7 @@ The following variables are predefined:
For example:

```bash
docker run -d --name bi -p 9500:9500 -p 9502:9502 -e ADMIN_USERNAME=weblogic -e ADMIN_PASSWORD=<admin_password> -e DB_HOST=database -e DB_PORT=1521 -e DB_SERVICE=ORCLPDB1 -e DB_USERNAME=sys -e DB_PASSWORD=<db_password> -e SCHEMA_PREFIX=DEV -e SCHEMA_PASSWORD=<schema_password> oracle/analyticsserver:6.4-patch
docker run -d --name bi -p 9500:9500 -p 9502:9502 -e ADMIN_USERNAME=weblogic -e ADMIN_PASSWORD=<admin_password> -e DB_HOST=database -e DB_PORT=1521 -e DB_SERVICE=ORCLPDB1 -e DB_USERNAME=sys -e DB_PASSWORD=<db_password> -e SCHEMA_PREFIX=DEV -e SCHEMA_PASSWORD=<schema_password> oracle/analyticsserver:2025-patch
```

Change _<...password>_ to your required values, and DB values to match your database.
Expand Down Expand Up @@ -138,7 +138,7 @@ you must modify the previous `docker run` command to expose port 9514.
For example:

```bash
docker run -it -p 9500:9500 -p 9502:9502 -p 9514:9514 -e ADMIN_USERNAME=weblogic -e ADMIN_PASSWORD=<admin_password> -e DB_HOST=database -e DB_PORT=1521 -e DB_SERVICE=ORCLPDB1 -e DB_USERNAME=sys -e DB_PASSWORD=<db_password> -e SCHEMA_PREFIX=DEV -e SCHEMA_PASSWORD=<schema_password> oracle/analyticsserver:6.4-patch
docker run -it -p 9500:9500 -p 9502:9502 -p 9514:9514 -e ADMIN_USERNAME=weblogic -e ADMIN_PASSWORD=<admin_password> -e DB_HOST=database -e DB_PORT=1521 -e DB_SERVICE=ORCLPDB1 -e DB_USERNAME=sys -e DB_PASSWORD=<db_password> -e SCHEMA_PREFIX=DEV -e SCHEMA_PASSWORD=<schema_password> -e BI_APP_LITE_PASSWORD=<bi_app_lite_password> oracle/analyticsserver:2025-patch
```

### Using a Host Directory for Persistent Data
Expand Down Expand Up @@ -177,7 +177,7 @@ For example,

3. Start a BI container that uses the database by name:

$ docker run --name bi --network=bi_net -e DB_HOST=database ...... oracle/analyticsserver:6.4-patch
$ docker run --name bi --network=bi_net -e DB_HOST=database ...... oracle/analyticsserver:2025-patch

Note: In the above container run examples, other parameters are omitted for clarity.

Expand Down Expand Up @@ -247,4 +247,4 @@ released under the Universal Permissive License v 1.0 as shown at <https://oss.o

## Copyright

Copyright (c) 2022 Oracle and/or its affiliates.
Copyright (c) 2025 Oracle and/or its affiliates.
9 changes: 9 additions & 0 deletions OracleAnalytics/dockerfiles/2025/Checksum.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
# Download Oracle Analytics Server Installer 2025
#
# - https://www-sites.oracle.com/solutions/business-analytics/analytics-server/analytics-server.html
#
f6f7558bdc8f430fdccca49e3cbcd105 Oracle_Analytics_Server_Linux_2025(8.2).zip
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Copyright (c) 2022 Oracle and/or its affiliates.
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
# ORACLE DOCKERFILES PROJECT
# --------------------------
# This is the Dockerfile for Oracle Analytics Server 2022 (6.4)
# This is the Dockerfile for Oracle Analytics Server 2025 (8.2)
#
# REQUIRED FILE(S) TO BUILD THIS IMAGE
# ----------------------------------
# (1) Oracle_Analytics_Server_Linux_2022(6.4).zip
# (1) Oracle_Analytics_Server_Linux_2025(8.2).zip
# Download the installer file from https://www-sites.oracle.com/solutions/business-analytics/analytics-server/analytics-server.html
#
# HOW TO BUILD THIS IMAGE
# -----------------------
# Put all downloaded files in the same directory as this Dockerfile
# Run:
# $ docker build -t oracle/analyticsserver:6.4 .
# $ docker build -t oracle/analyticsserver:2025 .
#
# Pull base image
# ---------------
Expand All @@ -32,8 +32,8 @@ ENV ORACLE_HOME=/u01/oracle
# Environment variables required for this build (do NOT change)
# (DOMAIN_NAME/HOME are reset here, to avoid FMW Infra environment leaking through)
# -------------------------------------------------------------
ENV BI_DISTRO_ZIP1=Oracle_Analytics_Server_Linux_2022(6.4).zip \
BI_INSTALLER1=Oracle_Analytics_Server_Linux_6.4.0.jar \
ENV BI_DISTRO_ZIP1=Oracle_Analytics_Server_Linux_2025(8.2).zip \
BI_INSTALLER1=Oracle_Analytics_Server_2025_Linux.jar \
DOMAIN_NAME="${BI_DOMAIN_NAME:-bi}" \
DOMAINS_DIR=$ORACLE_HOME/user_projects/domains \
DOMAIN_HOME=$ORACLE_HOME/user_projects/domains/${BI_DOMAIN_NAME:-bi}
Expand All @@ -47,7 +47,7 @@ COPY $BI_DISTRO_ZIP1 install.file oraInst.loc /u01/
USER root

# tools for installing and running BI
RUN yum -y install unzip hostname && rm -rf /var/cache/yum
RUN dnf -y install unzip hostname libnsl && dnf clean all

USER oracle
RUN unzip "/u01/$BI_DISTRO_ZIP1" -d /u01 && \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright (c) 2022 Oracle and/or its affiliates.
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
Expand Down Expand Up @@ -121,7 +121,7 @@ validateMandatoryParameter() {
}

# TODO only ORACLE_HOME/DOMAIN_NAME/DOMAINS_DIR is mandatory once domain is configured
mandatoryParameters=(ORACLE_HOME DOMAIN_NAME DOMAINS_DIR ADMIN_USERNAME ADMIN_PASSWORD DB_HOST DB_PORT DB_SERVICE DB_USERNAME DB_PASSWORD SCHEMA_PREFIX SCHEMA_PASSWORD)
mandatoryParameters=(ORACLE_HOME DOMAIN_NAME DOMAINS_DIR ADMIN_USERNAME ADMIN_PASSWORD DB_HOST DB_PORT DB_SERVICE DB_USERNAME DB_PASSWORD SCHEMA_PREFIX SCHEMA_PASSWORD BI_APP_LITE_PASSWORD)
missingMandatoryParameters=()
for mandatoryParameter in "${mandatoryParameters[@]}"; do
missingParam=$(validateMandatoryParameter "$mandatoryParameter")
Expand Down Expand Up @@ -190,6 +190,9 @@ if [ ! -f "$domainCheckFile" ]; then
replacements+=" -e \"s|@@DEFAULT_SI_KEY@@|ssi|g\""
replacements+=" -e \"s|@@PORT_RANGE_START@@|9500|g\""
replacements+=" -e \"s|@@PORT_RANGE_END@@|9999|g\""
replacements+=" -e \"s|@@ENABLE_SSL@@|false|g\""
replacements+=" -e \"s|@@DB_ROLE@@|SYSDBA|g\""
replacements+=" -e \"s|@@APP_PASSWORD@@|$BI_APP_LITE_PASSWORD|g\""

eval sed -i "$replacements" "$responseFile"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 Oracle and/or its affiliates.
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright (c) 2022 Oracle and/or its affiliates.
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.

Expand Down
9 changes: 0 additions & 9 deletions OracleAnalytics/dockerfiles/6.4/Checksum.md5

This file was deleted.

109 changes: 109 additions & 0 deletions OracleAnalytics/patches/2025-patch/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Copyright (c) 2025 Oracle and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
# ORACLE DOCKERFILES PROJECT
# --------------------------
# This Dockerfile extends the Oracle Analytics Server 2025 (8.2), and applies necessary
# patches required.

# REQUIRED FILES TO BUILD THIS IMAGE
# ----------------------------------
# (1) p37804819_122140_Generic.zip
# (2) p34809489_122140_Generic.zip
# (3) p36649916_122140_Generic.zip
# (4) p37284722_122140_Generic.zip
# (5) p37684007_122140_Generic.zip
# (6) p36316422_122140_Generic.zip
# (7) p36946553_122140_Generic.zip
# (8) p37388935_122140_Generic.zip
# (9) p37526122_122140_Linux-x86-64.zip
# (10) p37665839_122140_Linux-x86-64.zip

# Download the patches from https://support.oracle.com
#
# HOW TO BUILD THIS IMAGE
# -----------------------
# Put all downloaded files in the same directory as this Dockerfile
# Run:
# $ docker build --force-rm=true --no-cache=true -t oracle/analyticsserver:2025-patch .
#

# Pull base image
# ---------------
FROM oracle/analyticsserver:2025

# Labels
# ------
LABEL "maintainer"="Padam Bengani <[email protected]>"

# Install
#-------------------------------------------------------------
USER root

# tools for applying patches
RUN dnf install -y binutils make gcc glibc-devel && dnf clean all

# Common ENV
#-----------
ENV OPATCH_NO_FUSER=true

# Environment variables required for this build (do NOT change)
# -------------------------------------------------------------
ENV PATCH_PKG_37804819="p37804819_122140_Generic.zip" \
PATCH_PKG_34809489="p34809489_122140_Generic.zip" \
PATCH_PKG_36649916="p36649916_122140_Generic.zip" \
PATCH_PKG_37284722="p37284722_122140_Generic.zip" \
PATCH_PKG_37684007="p37684007_122140_Generic.zip" \
PATCH_PKG_36316422="p36316422_122140_Generic.zip" \
PATCH_PKG_36946553="p36946553_122140_Generic.zip" \
PATCH_PKG_37388935="p37388935_122140_Generic.zip" \
PATCH_PKG_37526122="p37526122_122140_Linux-x86-64.zip" \
PATCH_PKG_37665839="p37665839_122140_Linux-x86-64.zip"

# Copy supplemental package and scripts
# --------------------------------
COPY --chown=oracle:oracle \
$PATCH_PKG_37804819 $PATCH_PKG_34809489 $PATCH_PKG_36649916 $PATCH_PKG_37284722 \
$PATCH_PKG_37526122 $PATCH_PKG_37684007 $PATCH_PKG_36316422 $PATCH_PKG_36946553 \
$PATCH_PKG_37388935 $PATCH_PKG_37665839 /u01/

# Installation of Supplemental Quick Installer and Patches
# --------------------------------------------------------
USER oracle

RUN unzip "/u01/$PATCH_PKG_37804819" -d /u01 && \
chmod +x /u01/WLS_SPB_12.2.1.4.250408/tools/spbat/generic/SPBAT/spbat.sh && \
/u01/WLS_SPB_12.2.1.4.250408/tools/spbat/generic/SPBAT/spbat.sh -phase apply -oracle_home "$ORACLE_HOME" && \
rm "/u01/$PATCH_PKG_37804819" && \
unzip "/u01/$PATCH_PKG_34809489" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/34809489 && \
rm "/u01/$PATCH_PKG_34809489" && \
unzip "/u01/$PATCH_PKG_36649916" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/36649916 && \
rm "/u01/$PATCH_PKG_36649916" && \
unzip "/u01/$PATCH_PKG_37284722" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/37284722 && \
rm "/u01/$PATCH_PKG_37284722" && \
unzip "/u01/$PATCH_PKG_37684007" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/37684007 && \
rm "/u01/$PATCH_PKG_37684007" && \
unzip "/u01/$PATCH_PKG_36316422" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/36316422 && \
rm "/u01/$PATCH_PKG_36316422" && \
unzip "/u01/$PATCH_PKG_36946553" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/36946553 && \
rm "/u01/$PATCH_PKG_36946553" && \
unzip "/u01/$PATCH_PKG_37388935" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/37388935 && \
rm "/u01/$PATCH_PKG_37388935" && \
unzip "/u01/$PATCH_PKG_37526122" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/37526122 && \
rm "/u01/$PATCH_PKG_37526122" && \
unzip "/u01/$PATCH_PKG_37665839" -d /u01 && \
"$ORACLE_HOME/OPatch/opatch" apply -silent /u01/36749613 && \
rm "/u01/$PATCH_PKG_37665839"

WORKDIR ${ORACLE_HOME}

CMD ["/u01/createAndStartDomain.sh"]
33 changes: 33 additions & 0 deletions OracleAnalytics/patches/2025-patch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Build a Oracle Analytics Server 2025 (8.2) Patched Image

This Dockerfile extends the Oracle Analytics Server 2025 (8.2) image,
and applies necessary patches.

## How to build and run

First make sure you have built `oracle/analyticsserver:2025`.

Download the following patches from
[My Oracle Support](https://support.oracle.com)
and place them in the same directory as this README.

1. p37804819_122140_Generic.zip
2. p34809489_122140_Generic.zip
3. p36649916_122140_Generic.zip
4. p37284722_122140_Generic.zip
5. p37684007_122140_Generic.zip
6. p36316422_122140_Generic.zip
7. p36946553_122140_Generic.zip
8. p37388935_122140_Generic.zip
9. p37526122_122140_Linux-x86-64.zip
10. p37665839_122140_Linux-x86-64.zip

To build, run:

```bash
docker build --force-rm=true --no-cache=true -t oracle/analyticsserver:2025-patch .
```

## Copyright

Copyright (c) 2025 Oracle and/or its affiliates.
Loading