diff --git a/OracleDatabase/RAC/OracleRealApplicationClusters/dockerfiles/buildContainerImage.sh b/OracleDatabase/RAC/OracleRealApplicationClusters/dockerfiles/buildContainerImage.sh index f8486832dc..4d0161afb8 100755 --- a/OracleDatabase/RAC/OracleRealApplicationClusters/dockerfiles/buildContainerImage.sh +++ b/OracleDatabase/RAC/OracleRealApplicationClusters/dockerfiles/buildContainerImage.sh @@ -92,7 +92,11 @@ while getopts "hiv:o:pn:" optname; do ;; esac done - +# Automatically set SKIPMD5=1 if SLIMMING=true is passed in DOCKEROPS +if [[ "$DOCKEROPS" == *"--build-arg SLIMMING=true"* ]]; then + SKIPMD5=1 + echo "SLIMMING=true detected, SKIPMD5 is automatically set to 1." +fi # Oracle Database Image Name if [ "${IMAGE_NAME}"x = "x" ] && [ "${SLIM}" == "true" ]; then IMAGE_NAME="oracle/database-rac:${VERSION}-slim"