在我的泊坞文件中,其中一步是升级点,即
public void run() {
for (int i=0; i<10; i++) {
staticvarTest.information.add(solve(String.valueOf(i)));
}
print_information(information);
}
public String[] solve(String i) {
return {String.valueOf(random.nextInt()),
String.valueOf(random.nextInt()),
i};
}
Dockerfile
RUN pip install --upgrade pip
当它达到上述步骤时,它最终会出现以下错误,我不知道为什么会发生这种情况..
路径FROM centos:7.2.1511
RUN yum install -y epel-release && yum repolist
RUN yum install -y python-pip python-devel
RUN pip install --upgrade pip
RUN yum install -y --enablerepo=epel httpd mod_wsgi openldap-devel mariadb-devel yum-plugin-ovl git
RUN yum install -y gcc
VOLUME ["/var/www/website.com/"]
WORKDIR /var/www/website.com/
ADD requirements/ requirements/
RUN pip install -i http://local.pypi:8080/root/pypi/ --trusted-host local-web-test01 -r requirements/base.txt -v
RUN rm /etc/httpd/conf.d/*.conf
ADD conf/website.com.conf /etc/httpd/conf.d/
#Config for git clone permissions
ADD conf/.ssh/ /usr/share/httpd/.ssh/
RUN chown apache:apache -R /usr/share/httpd/.ssh/
RUN chmod 600 /usr/share/httpd/.ssh/id_rsa
VOLUME ["/var/www/website.com/static"]
我相信存在于容器内部,我不明白为什么它在目录中有什么错误。
/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches