mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 05:50:21 +00:00
[6] update lxml Dockerfile
This commit is contained in:
parent
43917bfb39
commit
3517257741
3 changed files with 20 additions and 5 deletions
|
@ -3,7 +3,7 @@ ARG BRANCH_NAME=master
|
|||
ENV BRANCH_NAME ${BRANCH_NAME}
|
||||
ENV TINI_VERSION v0.19.0
|
||||
ENV PMM_DOCKER True
|
||||
COPY requirements.txt requirements.txt
|
||||
COPY requirements-lxml.txt requirements-lxml.txt
|
||||
RUN echo "**** install system packages ****" \
|
||||
&& apt-get update \
|
||||
&& apt-get upgrade -y --no-install-recommends \
|
||||
|
@ -11,15 +11,14 @@ RUN echo "**** install system packages ****" \
|
|||
&& apt-get install -y gcc g++ libxml2-dev libxslt-dev libz-dev libjpeg62-turbo-dev zlib1g-dev wget curl \
|
||||
&& wget -O /tini https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-"$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
|
||||
&& chmod +x /tini \
|
||||
&& sed -i "s|lxml==5.2.1|lxml==5.1.1|g" /requirements.txt
|
||||
&& pip3 install --no-cache-dir --upgrade --requirement /requirements.txt \
|
||||
&& pip3 install --no-cache-dir --upgrade --requirement /requirements-lxml.txt \
|
||||
&& apt-get --purge autoremove gcc g++ libxml2-dev libxslt-dev libz-dev -y \
|
||||
&& apt-get clean \
|
||||
&& apt-get update \
|
||||
&& apt-get check \
|
||||
&& apt-get -f install \
|
||||
&& apt-get autoclean \
|
||||
&& rm -rf /requirements.txt /tmp/* /var/tmp/* /var/lib/apt/lists/*
|
||||
&& rm -rf /requirements-lxml.txt /tmp/* /var/tmp/* /var/lib/apt/lists/*
|
||||
COPY . /
|
||||
VOLUME /config
|
||||
ENTRYPOINT ["/tini", "-s", "python3", "plex_meta_manager.py", "--"]
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.21.0-develop5
|
||||
1.21.0-develop6
|
||||
|
|
16
requirements-lxml.txt
Normal file
16
requirements-lxml.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
arrapi==1.4.7
|
||||
GitPython==3.1.43
|
||||
lxml==5.1.1
|
||||
num2words==0.5.13
|
||||
pathvalidate==3.2.0
|
||||
pillow==10.3.0
|
||||
PlexAPI==4.15.11
|
||||
psutil==5.9.8
|
||||
python-dotenv==1.0.1
|
||||
python-dateutil==2.9.0.post0
|
||||
requests==2.31.0
|
||||
retrying==1.3.4
|
||||
ruamel.yaml==0.18.6
|
||||
schedule==1.2.1
|
||||
setuptools==69.2.0
|
||||
tmdbapis==1.2.9
|
Loading…
Reference in a new issue