From 5db41b87280b357030ccce945361eb47140fc765 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Thu, 12 Sep 2024 03:46:02 -0400 Subject: [PATCH] feat: use pip --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dcc5cb3..30bbb2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest-slim RUN apt-get update && \ - apt-get install -y sudo python3-minimal pipx git && \ + apt-get install -y --no-install-recommends sudo python3-minimal python3-pip git && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* && \ userdel -r node && \ @@ -13,8 +13,7 @@ RUN apt-get update && \ # install joint-teapot # TODO: change it to FOCS gitea mirror for deployment -RUN pipx install git+https://mirror.ghproxy.com/https://github.com/BoYanZh/Joint-Teapot && \ - ln -s /root/.local/bin/joint-teapot /usr/local/bin/joint-teapot +RUN pip install git+https://mirror.ghproxy.com/https://github.com/BoYanZh/Joint-Teapot --break-system-packages # install joj3 binary COPY bin/joj3 /usr/local/bin/