From 7e64a43af657033ebc0f6cbd671f77724bc1ca1c Mon Sep 17 00:00:00 2001 From: William Etheredge Date: Sat, 8 Jul 2023 16:07:19 -0500 Subject: [PATCH] Treat Containerfiles as Dockerfiles (#2846) Containerfiles should be fully compatible with Dockerfiles: https://github.com/containers/buildah/discussions/3170 --- runtime/syntax/dockerfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/dockerfile.yaml b/runtime/syntax/dockerfile.yaml index ef48034f..ea7aa7b9 100644 --- a/runtime/syntax/dockerfile.yaml +++ b/runtime/syntax/dockerfile.yaml @@ -1,7 +1,7 @@ filetype: dockerfile detect: - filename: "(Dockerfile[^/]*$|\\.dockerfile$)" + filename: "((Docker|Container)file[^/]*$|\\.(docker|container)file$)" rules: ## Keywords