From 3ff866c70d4037270feb9776d1cab230ff7497ac Mon Sep 17 00:00:00 2001 From: ThibaultFy Date: Mon, 26 Aug 2024 14:38:13 +0200 Subject: [PATCH] chore: update tests Signed-off-by: ThibaultFy --- tests/remote/register/test_register.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/remote/register/test_register.py b/tests/remote/register/test_register.py index 5aca2997..56c2bd3c 100644 --- a/tests/remote/register/test_register.py +++ b/tests/remote/register/test_register.py @@ -123,6 +123,10 @@ def test_create_dockerfile(tmp_path, local_installable_module): # Install requirements RUN python{python_version} -m pip install --no-cache-dir -r requirements.txt +USER root +RUN apt-get purge -y --auto-remove build-essential *-dev +USER user + # Copy all other files COPY function.py . COPY substrafl_internal/cls_cloudpickle substrafl_internal/