# This docker file uses the centos image # VERSION 1 # Base image docker pull centos:7.6.1810 FROM centos:7.6.1810 # Maintainer # EPEL ADD epel-7.repo /etc/yum.repos.d/ ADD CentOS-Base.repo /etc/yum.repos.d/ # Base pak RUN yum -y install wget git tree sudo net-tools RUN yum -y install mysql-devel redis RUN yum -y install supervisor RUN yum -y install psmisc #RUN yum -y install openssl-devel openssh-clients openssh-server RUN yum clean all #创建镜像 # docker build -t yaohong/centos74-ssh:v1 . # docker build -t ccr.ccs.tencentyun.com/vipthink/centos:v1 .