代码拉取完成,页面将自动刷新
同步操作将从 bravele/fsr 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
FROM hub.c.163.com/netease_comb/centos:7
ENV PATH $PATH:/usr/local/python3/bin/
COPY install/Python-3.6.15.tgz /usr/local
COPY install/pip_list.txt /usr/local
COPY install/locale.conf /etc/locale.conf
#COPY install/i18n /etc/sysconfig/i18n
ENV PYTHONIOENCODING utf-8
RUN set -ex \
&& mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup \
&& curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo \
&& yum makecache \
&& sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo \
&& yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc gcc-c++ make wget sshpass kde-l10n-Chinese \
&& yum clean all \
&& cd /usr/local && tar -zxf Python-3.6.15.tgz \
&& cd Python-3.6.15 \
&& ./configure \
&& make && make install \
&& localedef -i zh_CN -f UTF-8 zh_CN.UTF-8
RUN set -ex \
&& cd /usr/local && python3 -m venv env \
&& source env/bin/activate \
&& export LANG="zh_CN.utf8" \
&& pip install --upgrade pip -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com \
&& pip install -r pip_list.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
#CMD ["tail","-f","/etc/yum.repos.d/CentOS-Base.repo"]
CMD ["sh","/ncc/service/fsr/cmdb/docker_start.sh","start"]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。