]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
containers: Install pipx
authorZack Cerza <zack@cerza.org>
Thu, 10 Apr 2025 19:22:31 +0000 (13:22 -0600)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Wed, 22 Apr 2026 19:36:23 +0000 (21:36 +0200)
Signed-off-by: Zack Cerza <zack@cerza.org>
containers/teuthology-dev/Dockerfile
docs/docker-compose/teuthology/Dockerfile

index 8fbe0bd52c0097e7bbf7d8f18b272a2086433ac2..91fc942f66930eef8569b47a34cc42331f249546 100644 (file)
@@ -9,8 +9,7 @@ RUN apt-get update && \
     python3-dev \
     libssl-dev \
     ipmitool \
-    python3-pip \
-    python3-venv \
+    pipx \
     vim \
     jq \
     curl \
@@ -23,13 +22,13 @@ RUN apt-get update && \
     apt-get clean all && \
     locale-gen $LC_ALL
 WORKDIR /teuthology
-COPY requirements.txt requirements.yml ansible.cfg bootstrap /teuthology/
+COPY pyproject.toml requirements.txt requirements.yml uv.lock ansible.cfg bootstrap /teuthology/
 RUN \
     cd /teuthology && \
     mkdir ../archive_dir && \
     mkdir log && \
     chmod +x /teuthology/bootstrap && \
-    PIP_INSTALL_FLAGS="-r requirements.txt" ./bootstrap
+    ./bootstrap
 COPY . /teuthology
 RUN \
     (git config -f ./.git/config --unset 'http.https://github.com/.extraheader' || true ) && \
index f9573772dfc8feeef0d68db7dfb970689b707c13..bc10925c0892ae58bcc71fdd8e7481b980b43441 100644 (file)
@@ -1,4 +1,4 @@
-FROM ubuntu:22.04
+FROM ubuntu:24.04
 ARG SSH_PRIVKEY_FILE=id_ed25519
 ENV DEBIAN_FRONTEND=noninteractive
 ENV LANG=C.UTF-8
@@ -12,8 +12,7 @@ RUN apt-get update && \
     python3-dev \
     libssl-dev \
     ipmitool \
-    python3-pip \
-    python3-venv \
+    pipx \
     vim \
     locales-all \
     libev-dev \
@@ -25,13 +24,13 @@ RUN apt-get update && \
     apt-get clean all && \
     locale-gen $LC_ALL
 WORKDIR /teuthology
-COPY requirements.txt requirements.yml ansible.cfg bootstrap /teuthology/
+COPY pyproject.toml requirements.txt requirements.yml uv.lock ansible.cfg bootstrap /teuthology/
 RUN \
     cd /teuthology && \
     mkdir ../archive_dir && \
     mkdir log && \
     chmod +x /teuthology/bootstrap && \
-    PIP_INSTALL_FLAGS="-r requirements.txt" ./bootstrap
+    ./bootstrap
 COPY . /teuthology
 RUN \
     ./bootstrap