From 077be52896da824880474776bdf273d981a60675 Mon Sep 17 00:00:00 2001 From: gabriel-farache Date: Fri, 22 Mar 2024 12:01:46 +0100 Subject: [PATCH] Marfile: Remove all "target" folder from WORKDIR --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 7a77b473..4ffb4ba5 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,8 @@ prepare-workdir: @rm -rf $(WORKDIR) @mkdir -p $(WORKDIR) @cp -R . $(WORKDIR) + @find $(WORKDIR) -type d -name target -prune -exec rm -rf {} \; + # Target: build-image # Description: Builds the workflow containerized image from the given WORKDIR.