From c1d2b2f0791cfcc7120b47ae2b30ca6ee4ca0829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 27 Oct 2023 10:21:18 +0200 Subject: [PATCH] fix Dockerfile.$flavor detection --- Build.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.pm b/Build.pm index 8ef14fd59..63e7b3754 100644 --- a/Build.pm +++ b/Build.pm @@ -1265,7 +1265,7 @@ sub recipe2buildtype { return 'collax' if $recipe eq 'build.collax'; return 'snapcraft' if $recipe eq 'snapcraft.yaml'; return 'appimage' if $recipe eq 'appimage.yml'; - return 'docker' if $recipe eq 'Dockerfile'; + return 'docker' if $recipe eq 'Dockerfile' || $recipe =~ /^Dockerfile\..*/; return 'fissile' if $recipe eq 'fissile.yml'; return 'preinstallimage' if $recipe eq '_preinstallimage'; return 'simpleimage' if $recipe eq 'simpleimage';