From d6366ba18bf2a695791b4ac4bf726047822b9940 Mon Sep 17 00:00:00 2001 From: Luigi Pellecchia Date: Fri, 13 Sep 2024 13:04:56 +0200 Subject: [PATCH] Fix Docker-api tmt initialization to support test execution env configuration Signed-off-by: Luigi Pellecchia --- Dockerfile-api | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile-api b/Dockerfile-api index ca40107..0075ab2 100644 --- a/Dockerfile-api +++ b/Dockerfile-api @@ -25,6 +25,9 @@ RUN mkdir -p /var/tmp && cd /BASIL-API/db/models && \ # Apply patches RUN patch -u /usr/local/lib/python3.12/site-packages/tmt/steps/provision/podman.py < /BASIL-API/misc/tmt_provision_podman.patch +# Init tmt +RUN tmt init + # Remove BASIL ADMIN PASSWORD from the environment ENV BASIL_ADMIN_PASSWORD=