File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
imagetool/src/main/resources/docker-files Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,14 @@ USER {{userid}}
109109 { {{.} }}
110110{ {/beforeFmwInstall} }
111111
112+ RUN echo "INSTALLING MIDDLEWARE" \
112113{ {#installPackages} }
113- RUN { {#isZip} }unzip -q { {{tempDir} }}/{ {installerFilename} } "*.jar" -d { {{tempDir} }} && { {/isZip} } \
114- { {{java_home} }}/bin/java -Xmx1024m -jar { {{tempDir} }}/{ {jarName} } -silent ORACLE_HOME={ {{oracle_home} }} \
115- -responseFile { {{tempDir} }}/{ {responseFile.name} } -invPtrLoc { {inv_loc} }/oraInst.loc -ignoreSysPrereqs -force -novalidation
114+ && echo "INSTALLING { {type} }" \
115+ && { {#isZip} }unzip -q { {{tempDir} }}/{ {installerFilename} } "*.jar" -d { {{tempDir} }} && { {/isZip} } \
116+ { {{java_home} }}/bin/java -Xmx1024m -jar { {{tempDir} }}/{ {jarName} } -silent ORACLE_HOME={ {{oracle_home} }} \
117+ -responseFile { {{tempDir} }}/{ {responseFile.name} } -invPtrLoc { {inv_loc} }/oraInst.loc -ignoreSysPrereqs -force -novalidation \
116118{ {/installPackages} }
119+ && chmod -R g+r { {{oracle_home} }}
117120
118121{ {#isOpatchPatchingEnabled} }
119122RUN cd { {{tempDir} }}/opatch \
Original file line number Diff line number Diff line change @@ -132,11 +132,15 @@ LABEL com.oracle.weblogic.imagetool.buildid="{{buildId}}"
132132 { {{.} }}
133133 { {/beforeFmwInstall} }
134134
135+ RUN echo "INSTALLING MIDDLEWARE" \
135136 { {#installPackages} }
136- RUN { {#isZip} }unzip -q { {{tempDir} }}/{ {installerFilename} } "*.jar" -d { {{tempDir} }} && { {/isZip} } \
137- { {{java_home} }}/bin/java -Xmx1024m -jar { {{tempDir} }}/{ {jarName} } -silent ORACLE_HOME={ {{oracle_home} }} \
138- -responseFile { {{tempDir} }}/{ {responseFile.name} } -invPtrLoc { {inv_loc} }/oraInst.loc -ignoreSysPrereqs -force -novalidation
137+ && echo "RUNNING { {type} } INSTALLER" \
138+ && { {#isZip} }unzip -q { {{tempDir} }}/{ {installerFilename} } "*.jar" -d { {{tempDir} }} && { {/isZip} } \
139+ { {{java_home} }}/bin/java -Xmx1024m -jar { {{tempDir} }}/{ {jarName} } -silent ORACLE_HOME={ {{oracle_home} }} \
140+ -responseFile { {{tempDir} }}/{ {responseFile.name} } -invPtrLoc { {inv_loc} }/oraInst.loc -ignoreSysPrereqs -force -novalidation \
139141 { {/installPackages} }
142+ && chmod -R g+r { {{oracle_home} }}
143+
140144 { {#isOpatchPatchingEnabled} }
141145 RUN cd { {{tempDir} }}/opatch \
142146 && { {{java_home} }}/bin/jar -xf { {{tempDir} }}/opatch/{ {{opatchFileName} }} \
You can’t perform that action at this time.
0 commit comments