specify full version for python packages

This commit is contained in:
Gerrit Gogel 2024-02-19 10:44:22 +01:00
parent 5512afc4c9
commit 1c2a74042a
2 changed files with 12 additions and 12 deletions

View file

@ -18,7 +18,7 @@ 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.* sqlalchemy==2.0.27
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

View file

@ -31,18 +31,18 @@ python3-dev
RUN python3 -m pip install --upgrade pip &&\ RUN python3 -m pip install --upgrade pip &&\
pip3 install --target /pip-deps --timeout=3600 --no-cache-dir \ pip3 install --target /pip-deps --timeout=3600 --no-cache-dir \
future==0.18.* \ future==0.18.3 \
pillow==10.0.* \ pillow==10.0.1 \
captcha==0.4 \ captcha==0.4 \
pyjwt==2.6.* \ pyjwt==2.6.0 \
mysqlclient==2.1.* \ mysqlclient==2.1.1 \
django==3.2.* \ django==3.2.24 \
django-pylibmc \ django-pylibmc==0.6.1 \
django-simple-captcha==0.5.* \ django-simple-captcha==0.5.20 \
pycryptodome==3.18.* \ pycryptodome==3.18.0 \
djangosaml2==1.5.* \ djangosaml2==1.5.8 \
python-ldap==3.4.* \ python-ldap==3.4.4 \
sqlalchemy==2.0.* sqlalchemy==2.0.27
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