Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 7系统运行docker build命令报错 #43

Open
jasoncsee opened this issue Apr 30, 2020 · 0 comments
Open

Centos 7系统运行docker build命令报错 #43

jasoncsee opened this issue Apr 30, 2020 · 0 comments

Comments

@jasoncsee
Copy link

Sending build context to Docker daemon 754.7kB
Step 1/6 : FROM python:3.7
---> 84d66a048f90
Step 2/6 : ADD ./crontask /etc/cron.d/crontask
---> Using cache
---> ec6d2bf817ad
Step 3/6 : WORKDIR /srv
---> Using cache
---> 225f70053d36
Step 4/6 : RUN pip install -U Flask && apt-get update && apt-get install -y --no-install-recommends cron git wget && apt autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* && chmod 0644 /etc/cron.d/crontask && touch /home/boot.sh && echo "#!/bin/sh\n" > /home/boot.sh && echo "service cron start" >> /home/boot.sh && echo "\n" >> /home/boot.sh && echo "/usr/local/bin/python /srv/iptv/python/main.py" >> /home/boot.sh && echo "\n" >> /home/boot.sh && echo "/bin/bash" >> /home/boot.sh && git clone https://github.com/EvilCult/iptv-m3u-maker.git && mv iptv-m3u-maker iptv
---> Running in 631c9fc1ac4b
Collecting Flask
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)'))': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)'))': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)'))': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(0, 'Error'))': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)'))': /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1076)')))

The command '/bin/sh -c pip install -U Flask && apt-get update && apt-get install -y --no-install-recommends cron git wget && apt autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* && chmod 0644 /etc/cron.d/crontask && touch /home/boot.sh && echo "#!/bin/sh\n" > /home/boot.sh && echo "service cron start" >> /home/boot.sh && echo "\n" >> /home/boot.sh && echo "/usr/local/bin/python /srv/iptv/python/main.py" >> /home/boot.sh && echo "\n" >> /home/boot.sh && echo "/bin/bash" >> /home/boot.sh && git clone https://github.com/EvilCult/iptv-m3u-maker.git && mv iptv-m3u-maker iptv' returned a non-zero code: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant