def clean(self): # Clean dockerfile delete_path(self.dockerfile_path) # Clean tmp dir if created if self.in_tmp_repo and self.copy_code: delete_tmp_dir(self.image_tag)