[root@server01 newapp]# docker build -f Dockerfile -t newapp .
Sending build context to Docker daemon 40.45kB
Step 1/32 : FROM python:2.7
---> 43c5f3ee0928
Step 2/32 : MAINTAINER User <user@gmail.com>
---> Using cache
---> e1487be5ed2b
Step 3/32 : ENV HTTP_PROXY "ourproxy:1001"
---> Using cache
---> 647e3d464f80
Step 4/32 : ENV HTTPS_PROXY "ourproxy:1001"
---> Using cache
---> 73a26ab6d072
Step 5/32 : ENV NO_PROXY "localhost,127.0.0.1"
---> Using cache
---> 15f2f646b67e
Step 6/32 : ENV TZ=Europe/Moscow
---> Using cache
---> dfdf21844c30
Step 7/32 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
---> Using cache
---> 51d483baafd8
Step 8/32 : RUN pip install uwsgi
---> Running in d143d5638177
Collecting uwsgi
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/uwsgi/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/uwsgi/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/uwsgi/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/uwsgi/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 407 Proxy Authentication Required',))': /simple/uwsgi/
Could not find a version that satisfies the requirement uwsgi (from versions: )
No matching distribution found for uwsgi
The command '/bin/sh -c pip install uwsgi' returned a non-zero code: 1
/data/Anaconda2-4.4.0/envs/python36/bin/python opt/project1/Table_Control.py opt/project1/connection.yaml >> Table_Control.log >&1
* hard nofile 16384