Привет в чем может быть проблема?
При установке пакетов из pypi каждый раз выдает разные ошибки, пробовал разные образы python3.8(buster/slim).
DockerFile:
FROM python:3.8-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade setuptools
RUN pip install -r requirements.txt
COPY ./app .
Ошибки:
Collecting idna>=2.0
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
Downloading state_manager-0.1.7.tar.gz (13 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
ERROR: Could not install packages due to an EnvironmentError: ('Received response with content-encoding: gzip, but failed to decode it.', error('Error -3 while decompressing data: incorrect data check'))