Skip to content

Commit

Permalink
Do not add common runtime image to the list of images built (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpcastro authored Jul 8, 2019
1 parent 4474209 commit 5b94343
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/buildRunTimeImages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 5b94343

Please sign in to comment.