postmanlabs/httpbin

Docker build fails with python dependency error

AnkitBhalla22 opened this issue · 0 comments

Hi Team,

I cloned the httpbin repo with tag v0.6.1 and tried to build docker image using command docker build , but it seems to fails while installing the python dependency got this error:
Downloading limits-1.6.tar.gz (37 kB)

Collecting WhiteNoise
  Downloading whitenoise-5.2.0-py2.py3-none-any.whl (19 kB)
ERROR: Package 'WhiteNoise' requires a different Python: 2.7.18 not in '>=3.5, <4'
WARNING: You are using pip version 20.0.2; however, version 20.3.4 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

Seems it not taking proper version mentioned in pipfile.lock, can you please help on this