From 835923ce8f3d9cf4efef8453a327d91b48a4fd84 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 29 Oct 2024 13:48:24 +0100 Subject: fix(ansible): Docker images role Signed-off-by: Peter Mikus Change-Id: Id0c07943ccf22e8983a86cdd2bde6c0b9a554450 --- fdio.infra.ansible/roles/docker_images/files/tg/Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fdio.infra.ansible/roles/docker_images/files/tg/Dockerfile b/fdio.infra.ansible/roles/docker_images/files/tg/Dockerfile index 3ff0e2116d..3e55041ca4 100644 --- a/fdio.infra.ansible/roles/docker_images/files/tg/Dockerfile +++ b/fdio.infra.ansible/roles/docker_images/files/tg/Dockerfile @@ -46,6 +46,7 @@ RUN apt-get -q update \ python3-dev \ python3-pip \ python3-setuptools \ + python3-venv \ python3-virtualenv \ rdma-core \ rsyslog \ @@ -69,6 +70,14 @@ RUN chown root:syslog /var/log \ # Create directory structure RUN mkdir -p /var/run/sshd +# CSIT PIP pre-cache +RUN python3 -m venv venv \ + && venv/bin/pip3 install --upgrade --no-cache-dir pip \ + && venv/bin/pip3 install --upgrade setuptools \ + && venv/bin/pip3 install --upgrade wheel \ + && pip3 install \ + PyYAML==6.0.1 + # Install AB RUN apt-get -q update \ && apt-get install -y -qq \ -- cgit 1.2.3-korg