From a7a4b180821ead9039860b8411b1a1cf2b775761 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 11 Sep 2023 13:36:54 +0200 Subject: [PATCH] fix ak test-all dependencies Signed-off-by: Marc 'risson' Schmitt --- Dockerfile | 4 +++- lifecycle/ak | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c3bc61d82..f8527659d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -145,7 +145,9 @@ USER 1000 ENV TMPDIR=/dev/shm/ \ PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 \ - PATH="/venv/bin:$PATH" + PATH="/venv/bin:$PATH" \ + VENV_PATH="/venv" \ + POETRY_VIRTUALENVS_CREATE=false HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 CMD [ "/lifecycle/ak", "healthcheck" ] diff --git a/lifecycle/ak b/lifecycle/ak index 3b061cd52..2ea6a4f59 100755 --- a/lifecycle/ak +++ b/lifecycle/ak @@ -55,7 +55,7 @@ function cleanup { } function prepare_debug { - pip install --no-cache-dir -r /requirements-dev.txt + poetry install --no-ansi --no-interaction touch /unittest.xml chown authentik:authentik /unittest.xml }