feat: use pip
This commit is contained in:
parent
736c03cf36
commit
5db41b8728
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue
Block a user