Skip to content

Commit 7abc0ea

Browse files
ddsharpejshum2479
authored andcommitted
for Opatch patch, ignore system prerequisites for cases where image is built on a machine with no swap space (#18)
1 parent cea4ef7 commit 7abc0ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

imagetool/src/main/resources/docker-files/Dockerfile.ph

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ COPY --chown=oracle:oracle p28186730_139400_Generic.zip $OTMPDIR/opatch/
9696
# START %%CREATE_OPATCH_1394%% #
9797
&& cd $OTMPDIR/opatch \
9898
&& $JAVA_HOME/bin/jar -xf $OTMPDIR/opatch/p28186730_139400_Generic.zip \
99-
&& $JAVA_HOME/bin/java -jar $OTMPDIR/opatch/6880880/opatch_generic.jar -silent oracle_home=$ORACLE_HOME \
99+
&& $JAVA_HOME/bin/java -jar $OTMPDIR/opatch/6880880/opatch_generic.jar -silent -ignoreSysPrereqs -force -novalidation oracle_home=$ORACLE_HOME \
100100
# END %%CREATE_OPATCH_1394%% #
101101

102102
# START %%UPDATE_OPATCH_1394%% #
103103
RUN cd $OTMPDIR/opatch \
104104
&& $JAVA_HOME/bin/jar -xf $OTMPDIR/opatch/p28186730_139400_Generic.zip \
105-
&& $JAVA_HOME/bin/java -jar $OTMPDIR/opatch/6880880/opatch_generic.jar -silent oracle_home=$ORACLE_HOME \
105+
&& $JAVA_HOME/bin/java -jar $OTMPDIR/opatch/6880880/opatch_generic.jar -silent -ignoreSysPrereqs -force -novalidation oracle_home=$ORACLE_HOME \
106106
&& rm -rf $OTMPDIR
107107
# END %%UPDATE_OPATCH_1394%% #
108108

0 commit comments

Comments
 (0)