diff options
author | Peter Mikus <peter.mikus@protonmail.ch> | 2024-10-29 13:48:24 +0100 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2024-10-29 13:48:24 +0100 |
commit | 835923ce8f3d9cf4efef8453a327d91b48a4fd84 (patch) | |
tree | 29a32063d9f751487c1ec8b16aad29fd3a9a1d30 /fdio.infra.ansible/roles | |
parent | 9cc04061e8957880d3be900a02eaa0010fc46a25 (diff) |
fix(ansible): Docker images role
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: Id0c07943ccf22e8983a86cdd2bde6c0b9a554450
Diffstat (limited to 'fdio.infra.ansible/roles')
-rw-r--r-- | fdio.infra.ansible/roles/docker_images/files/tg/Dockerfile | 9 |
1 files changed, 9 insertions, 0 deletions
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 \ |