-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
I have tried building the layers for the docker image using the commands present in the Dockerfile in gcp. I ended up with the following error.
``
Step 1/3 : FROM python:3.8.2-slim
3.8.2-slim: Pulling from library/python
54fec2fa59d0: Pull complete
cd3f35d84cab: Pull complete
a0afc8e92ef0: Pull complete
9691f23efdb7: Pull complete
6512e60b314b: Pull complete
Digest: sha256:ed48f14994a6de2240f0b3a491f75a78b491010b45c1cfa16273022ae5408c61
Status: Downloaded newer image for python:3.8.2-slim
---> e7d894e42148
Step 2/3 : COPY requirements.txt /
---> a2cf250f688b
Step 3/3 : RUN pip3 install -r /requirements.txt
---> Running in f60ddce86e68
Collecting click==7.1.1
Downloading click-7.1.1-py2.py3-none-any.whl (82 kB)
Collecting dominate==2.5.1
Downloading dominate-2.5.1-py2.py3-none-any.whl (29 kB)
Collecting Flask==1.1.2
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting Flask-Bootstrap==3.3.7.1
Downloading Flask-Bootstrap-3.3.7.1.tar.gz (456 kB)
Collecting Flask-Uploads==0.2.1
Downloading Flask-Uploads-0.2.1.tar.gz (7.6 kB)
Collecting future==0.18.2
Downloading future-0.18.2.tar.gz (829 kB)
Collecting gunicorn==20.0.4
Downloading gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)
Collecting itsdangerous==1.1.0
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting Jinja2==2.11.2
Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting MarkupSafe==1.1.1
Downloading MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl (32 kB)
Collecting numpy==1.18.3
Downloading numpy-1.18.3-cp38-cp38-manylinux1_x86_64.whl (20.6 MB)
Collecting Pillow==7.1.1
Downloading Pillow-7.1.1-cp38-cp38-manylinux1_x86_64.whl (2.1 MB)
Collecting python-dotenv==0.13.0
Downloading python_dotenv-0.13.0-py2.py3-none-any.whl (17 kB)
Collecting visitor==0.1.3
Downloading visitor-0.1.3.tar.gz (3.3 kB)
Collecting Werkzeug==0.15.6
Downloading Werkzeug-0.15.6-py2.py3-none-any.whl (328 kB)
Collecting torch==1.5.0
Downloading torch-1.5.0-cp38-cp38-manylinux1_x86_64.whl (752.0 MB)
Killed
The command '/bin/sh -c pip3 install -r /requirements.txt' returned a non-zero code: 137
It was unable to download torch library. This also happened in my local system.
Can you help me out the reason behind this error?
I tried to pull the torch image itself and it is working fine. But cannot download torch on python3.7-slim image.