在过去的两天里,我正在阅读docker-container并尝试设置Apache容器.
我支持代理.以下是我的Dockerfile的内容.
FROM centos:latest
ENV http_proxy <Perfect Proxy schema here>
ENV https_proxy <Perfect Proxy schema here>
ENV ftp_proxy <Perfect Proxy schema here>
RUN yum -y update
RUN yum -y install python-setuptools
RUN easy_install supervisor
RUN mkdir -p /var/log/supervisor
RUN yum -y install which
RUN yum -y install git
Run Code Online (Sandbox Code Playgroud)
一切都很顺利RUN easy_install supervisor.我收到以下错误.
Step 6 : RUN easy_install supervisor
---> Running in 1e566719d244
Searching for supervisor
Download error on https://pypi.python.org/simple/supervisor/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may …Run Code Online (Sandbox Code Playgroud)