diff --git a/build/buildRunTimeImages.sh b/build/buildRunTimeImages.sh index b2c539fb48..ac9853b7b7 100644 --- a/build/buildRunTimeImages.sh +++ b/build/buildRunTimeImages.sh @@ -67,7 +67,8 @@ for generateDockerFile in $generateDockerFiles; do "$generateDockerFile" done -dockerFiles=$(find $runtimeImagesSourceDir -type f -name "Dockerfile") +# The common base image is built separately, so we ignore it +dockerFiles=$(find $runtimeImagesSourceDir -type f \( -name "Dockerfile" ! -path "$RUNTIME_IMAGES_SRC_DIR/commonbase/*" \) ) if [ -z "$dockerFiles" ] then echo "Couldn't find any Dockerfiles under '$runtimeImagesSourceDir' and its sub-directories."