PR同步功能 #22
|
|
@ -1,5 +1,11 @@
|
|||
FROM centos:7
|
||||
|
||||
# 更换为阿里云yum源
|
||||
RUN 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 https://mirrors.aliyun.com/repo/Centos-7.repo && \
|
||||
yum clean all && \
|
||||
yum makecache
|
||||
|
||||
RUN yum update -y && \
|
||||
yum install -y wget gcc make openssl-devel bzip2-devel libffi-devel zlib-devel
|
||||
RUN wget -P /data/ob-tool https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
|
||||
|
|
|
|||
Loading…
Reference in New Issue