Skip to content

Commit d424be9

Browse files
committed
NO-JIRA: skip example Dockerfiles from processing in dockerfile_fragments.py
1 parent 862794a commit d424be9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/dockerfile_fragments.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
def main():
1616
for dockerfile in ROOT_DIR.glob("**/Dockerfile*"):
17+
if dockerfile.is_relative_to(ROOT_DIR / "examples"):
18+
continue
19+
1720
blockinfile(
1821
dockerfile,
1922
textwrap.dedent(

0 commit comments

Comments
 (0)