From 5846bb2be13fa96f482d2c8a3ace720f422210bd Mon Sep 17 00:00:00 2001 From: Saurabh Ahuja Date: Fri, 15 Nov 2024 22:21:31 +0530 Subject: [PATCH] fix for slim build issue (#2889) --- .../dockerfiles/buildContainerImage.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"