squakez commented on a change in pull request #3008:
URL: https://github.com/apache/camel-k/pull/3008#discussion_r806586674



##########
File path: pkg/builder/image.go
##########
@@ -120,7 +120,7 @@ func jvmDockerfile(ctx *builderContext) error {
 }
 
 func incrementalImageContext(ctx *builderContext) error {
-       if ctx.Build.BaseImage != "" {
+       if ctx.Build.BaseImage != "" && ctx.Build.BaseImage != 
defaults.BaseImage() {

Review comment:
       Okey, the goal of this PR is to fix the incremental build which is 
failing since version 1.7. I am going to remove that branch to fix in `1.8.1` 
and create a follow up issue to implement the suggestions you've provided.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to