Skip to content

Commit 5846bb2

Browse files
authored
fix for slim build issue (#2889)
1 parent ed648c5 commit 5846bb2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

OracleDatabase/RAC/OracleRealApplicationClusters/dockerfiles/buildContainerImage.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ while getopts "hiv:o:pn:" optname; do
9292
;;
9393
esac
9494
done
95-
95+
# Automatically set SKIPMD5=1 if SLIMMING=true is passed in DOCKEROPS
96+
if [[ "$DOCKEROPS" == *"--build-arg SLIMMING=true"* ]]; then
97+
SKIPMD5=1
98+
echo "SLIMMING=true detected, SKIPMD5 is automatically set to 1."
99+
fi
96100
# Oracle Database Image Name
97101
if [ "${IMAGE_NAME}"x = "x" ] && [ "${SLIM}" == "true" ]; then
98102
IMAGE_NAME="oracle/database-rac:${VERSION}-slim"

0 commit comments

Comments
 (0)