File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -264,5 +264,6 @@ processManifest ignore
264
264
265
265
DOCKER_BUILDKIT=$BUILDKIT docker build $options $arguments $secrets \
266
266
--build-arg BUILD_DATE=$( date -u +' %Y-%m-%dT%H:%M:%SZ' ) \
267
+ --build-arg FORCE_PATCH=opatch \
267
268
-t ${DB_REPO} :${ORACLE_VERSION} -${ORACLE_EDITION} \
268
269
-f $dockerfile . && rm $dockerfile $dockerignore
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ installPatch() {
287
287
# ...the patch file isn't present
288
288
# ...or the FORCE_PATCH flag matches the patch type (all, opatch, patch) or the patch ID
289
289
# ...the checksum in the patch manifest doesn't match the file
290
- local __checksum_result=$( checkSum " $INSTALL_DIR /patches/$install_file " " $checksum " )
290
+ local __checksum_result=$( checkSum " $INSTALL_DIR /patches/$install_file " " $checksum " > 2/dev/null )
291
291
292
292
if [[ -f " /home/oracle/.netrc" && ( ! -f " $INSTALL_DIR /patches/$install_file " || " $( echo $FORCE_PATCH | grep -ci -e " \b$1 \b" -e " \b$patchid \b" -e " \ball\b" ) " -eq 1 ) || " $__checksum_result " -ne 0 ]]
293
293
then downloadPatch $patchid $INSTALL_DIR /patches $install_file
You can’t perform that action at this time.
0 commit comments