Skip to content

Added support for 14.1.2.0.0 #2958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
eeb6ae1
Added support for 14.1.2.0.0
adhrames Apr 9, 2025
5334e50
Lint errors fix
adhrames Apr 11, 2025
9b85b29
Lint errors fix
adhrames Apr 11, 2025
af15187
testing lint warning ignore
adhrames Apr 15, 2025
952e195
Lint errors fix
adhrames Apr 15, 2025
b71e1de
Lint error fix
adhrames Apr 15, 2025
a8aefa0
Lint error fix
adhrames Apr 15, 2025
a4ba8da
lint error testing
adhrames Apr 15, 2025
c8572b8
lint errors fix
adhrames Apr 16, 2025
fd71389
lint errors fix
adhrames Apr 16, 2025
6de945f
lint errors fix
adhrames Apr 16, 2025
6246005
lint errors fix
adhrames Apr 16, 2025
521cb72
lint errors fix
adhrames Apr 16, 2025
8727c26
lint errors fix
adhrames Apr 16, 2025
3ffde44
lint errors fix
adhrames Apr 16, 2025
b15af5a
lint errors fix
adhrames Apr 16, 2025
b67e594
lint errors fix
adhrames Apr 16, 2025
f20713a
lint errors fix
adhrames Apr 16, 2025
e7ef637
lint errors fix
adhrames Apr 16, 2025
c86ae6d
lint errors fix
adhrames Apr 16, 2025
7244451
lint errors fix
adhrames Apr 16, 2025
99d854e
lint markdown errors fix
adhrames Apr 16, 2025
baeadce
Containerfile lint fix
adhrames Apr 17, 2025
bffad8c
Containerfile lint fix
adhrames Apr 17, 2025
3c0e934
Containerfile lint fix
adhrames Apr 17, 2025
a876f2a
Containerfile Lint fail check
adhrames Apr 17, 2025
4167eab
Lint Containerfile error fix
adhrames Apr 18, 2025
c34fadf
Lint fix for cd issue in Containerfile
adhrames Apr 22, 2025
65ce0de
Added Disclaimer in README
adhrames Apr 23, 2025
fd5445e
Added Disclaimer in README
adhrames Apr 23, 2025
53117d1
README disclaimer fix
adhrames Apr 24, 2025
997c59c
Placed Disclaimer in main dockerfiles/README.md
adhrames May 5, 2025
fd8b910
Updated disclaimer in dockerfiles/README.md
adhrames May 6, 2025
0072bd7
Changed dockerfile to containerfile in readme
adhrames May 6, 2025
d2ff3dc
Changed dockerfile to containerfile in readme
adhrames May 6, 2025
230c240
Changed dockerfile to containerfile in readme
adhrames May 6, 2025
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
143 changes: 143 additions & 0 deletions OracleSOASuite/dockerfiles/14.1.2.0/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
#
# 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 CONTAINERFILES PROJECT
# --------------------------
# This is the Containerfile for Oracle SOA Suite
#
# REQUIRED FILES TO BUILD THIS IMAGE
# ----------------------------------
# See soasuite.download file in the install directory
# Also see soapatches.download file in the patches directory
#
# Pull base image
# ---------------
FROM oracle/fmw-infrastructure:14.1.2.0.0 as builder

#
# Environment variables required for this build (do NOT change)
# -------------------------------------------------------------
USER root
ENV FMW_JAR1=fmw_14.1.2.0.0_soa.jar \
FMW_JAR2=fmw_14.1.2.0.0_osb.jar \
FMW_JAR3=fmw_14.1.2.0.0_b2bhealthcare.jar \
OPATCH_PATCH_DIR="${OPATCH_PATCH_DIR:-/u01/opatch_patch}"

#
# Copy installers and patches for install
# -------------------------------------------
COPY $FMW_JAR1 $FMW_JAR2 $FMW_JAR3 /u01/
RUN mkdir /u01/patches ${OPATCH_PATCH_DIR} && \
chown oracle:root -R /u01
COPY patches/* /u01/patches/
COPY opatch_patch/* ${OPATCH_PATCH_DIR}/
COPY container-scripts/* /u01/oracle/container-scripts/

WORKDIR /u01
RUN chmod 755 ./*.jar && \
chmod +xr /u01/oracle/container-scripts/*.*

WORKDIR /u01/oracle
#
# Copy files and packages for install
# -----------------------------------
USER oracle
COPY install/* /u01/

WORKDIR /u01
RUN "$JAVA_HOME/bin/java" -jar "$FMW_JAR1" -silent -responseFile /u01/soasuite.response -invPtrLoc /u01/oraInst.loc -jreLoc "$JAVA_HOME" -ignoreSysPrereqs -force -novalidation ORACLE_HOME="$ORACLE_HOME" && \
"$JAVA_HOME/bin/java" -jar "$FMW_JAR2" -silent -responseFile /u01/osb.response -invPtrLoc /u01/oraInst.loc -jreLoc "$JAVA_HOME" -ignoreSysPrereqs -force -novalidation ORACLE_HOME="$ORACLE_HOME" INSTALL_TYPE="Service Bus" && \
"$JAVA_HOME/bin/java" -jar "$FMW_JAR3" -silent -responseFile /u01/b2b.response -invPtrLoc /u01/oraInst.loc -jreLoc "$JAVA_HOME" -ignoreSysPrereqs -force -novalidation ORACLE_HOME="$ORACLE_HOME" INSTALL_TYPE="B2B" && \
rm -fr /u01/*.jar /u01/*.response

#
# Apply OPatch patch
# ------------------
#

WORKDIR ${OPATCH_PATCH_DIR}
RUN opatchzip=`ls ${OPATCH_PATCH_DIR}/p*.zip 2>/dev/null`; \
if [ ! -z "$opatchzip" ]; then \
echo "Applying the below OPatch patch present in ${OPATCH_PATCH_DIR} directory."; \
ls p*.zip; \
echo ""; \
echo "Extracting patch: ${opatchzip}"; \
$JAVA_HOME/bin/jar xf ${opatchzip} ; \
if ! $JAVA_HOME/bin/java -jar ${OPATCH_PATCH_DIR}/6880880/opatch_generic.jar -silent oracle_home=$ORACLE_HOME; then \
echo "Applying patch to opatch Failed" ; \
exit 1 ; \
fi; \
rm -rf ${OPATCH_PATCH_DIR}; \
echo "OPatch patch applied successfully."; \
#$ORACLE_HOME/OPatch/opatch version; \
fi

#
# Apply SOA Patches
# -----------------

WORKDIR /u01/patches
RUN export OPATCH_NO_FUSER=TRUE && patchzips=`ls /u01/patches/p*.zip 2>/dev/null`; \
if [ ! -z "$patchzips" ]; then \
echo "Below patches present in patches directory. Applying these patches:"; \
ls p*.zip; \
echo ""; \
for filename in `ls p*.zip`; do echo "Extracting patch: ${filename}"; $JAVA_HOME/bin/jar xf ${filename}; done; \
rm -f /u01/patches/p*.zip; \
$ORACLE_HOME/OPatch/opatch napply -silent -oh $ORACLE_HOME -jre $JAVA_HOME -invPtrLoc /u01/oraInst.loc -phBaseDir /u01/patches; \
$ORACLE_HOME/OPatch/opatch util cleanup -silent; \
rm -rf /u01/patches/* /u01/oracle/cfgtoollogs/opatch/*; \
echo "Patches applied in SOA oracle home are:"; \
$ORACLE_HOME/OPatch/opatch lspatches; \
# cd $ORACLE_HOME/OPatch; \
# $ORACLE_HOME/OPatch/opatch lspatches; \
else \
echo "No patches present in patches directory. Skipping patch application."; \
fi && \
# Extract XEngine tar gz if present
if [ -d "${ORACLE_HOME}/soa/soa/thirdparty/edifecs" ] && [ -f "$ORACLE_HOME/soa/soa/thirdparty/edifecs/XEngine_8_4_1_23.tar.gz" ]; then \
tar -zxvf "$ORACLE_HOME/soa/soa/thirdparty/edifecs/XEngine_8_4_1_23.tar.gz" \
-C "$ORACLE_HOME/soa/soa/thirdparty/edifecs"; \
else \
echo "No XEngine_8_4_1_23.tar.gz present in ${ORACLE_HOME}/soa/soa/thirdparty/edifecs directory. Skipping untar."; \
fi && \
# zip as few log files grow larger when patches are installed.
if ls /u01/oracle/cfgtoollogs/opatch/*.log; then \
gzip /u01/oracle/cfgtoollogs/opatch/*.log; \
fi

WORKDIR /u01/oracle
#
# Rebuild from base image
# -----------------------

FROM oracle/fmw-infrastructure:14.1.2.0.0

#
# Label
# ----------
LABEL "provider"="Oracle"

#
# Install the required packages
# -----------------------------
USER root
ENV PATH=$PATH:/u01/oracle/container-scripts:/u01/oracle/oracle_common/modules/thirdparty/org.apache.ant/apache-ant/bin
RUN microdnf install -y hostname && \
microdnf clean all

COPY --from=builder --chown=oracle:root /u01 /u01

#
# Define default command to start bash.
#
USER oracle
HEALTHCHECK --start-period=5m --interval=1m CMD curl -k -s --fail `$HEALTH_SCRIPT_FILE` || exit 1
WORKDIR $ORACLE_HOME
CMD ["/u01/oracle/container-scripts/createDomainAndStart.sh"]



Loading