mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-09-02 18:59:19 +00:00
install all python packages with pip
This commit is contained in:
parent
1c2a74042a
commit
04ecb28d50
1 changed files with 9 additions and 9 deletions
|
@ -18,7 +18,15 @@ python3-pip \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN pip3 install --target /pip-deps --timeout=3600 --no-cache-dir \
|
RUN pip3 install --target /pip-deps --timeout=3600 --no-cache-dir \
|
||||||
sqlalchemy==2.0.27
|
sqlalchemy==2.0.27 \
|
||||||
|
click==8.0.3 \
|
||||||
|
termcolor==1.1.0 \
|
||||||
|
colorlog==6.6.0 \
|
||||||
|
pymysql==1.0.2 \
|
||||||
|
jinja2==3.0.3 \
|
||||||
|
pycryptodome==3.11.0 \
|
||||||
|
lxml==4.8.0 \
|
||||||
|
python-ldap==3.2.0
|
||||||
|
|
||||||
RUN find /pip-deps -name "__pycache__" -type d -exec rm -r {} + && \
|
RUN find /pip-deps -name "__pycache__" -type d -exec rm -r {} + && \
|
||||||
rm -rf /pip-deps/pip /pip-deps/wheel /pip-deps/setuptools
|
rm -rf /pip-deps/pip /pip-deps/wheel /pip-deps/setuptools
|
||||||
|
@ -39,14 +47,6 @@ libmariadb-dev \
|
||||||
ldap-utils \
|
ldap-utils \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
python3 \
|
python3 \
|
||||||
python3-click \
|
|
||||||
python3-termcolor \
|
|
||||||
python3-colorlog \
|
|
||||||
python3-pymysql \
|
|
||||||
python3-jinja2 \
|
|
||||||
python3-pycryptodome \
|
|
||||||
python3-lxml \
|
|
||||||
python3-ldap \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN cp -r /usr/lib/python3/dist-packages/Cryptodome /usr/lib/python3/dist-packages/Crypto
|
RUN cp -r /usr/lib/python3/dist-packages/Cryptodome /usr/lib/python3/dist-packages/Crypto
|
||||||
|
|
Loading…
Add table
Reference in a new issue