Dockerfile 部署应用执行脚本文件
FROM centos6.6:0.0.1 MAINTAINER syberos:wangmo RUN mv /etc/yum.repos.d/ /etc/yum.repos.d_bak/ && mkdir /etc/yum.repos.d ADD 102.repo /etc/yum.repos.d RUN yum clean all && yum install -y redis ADD redis1.conf redis2.conf redis3.conf /etc/ ADD start_redis.sh /usr/local/src/ CMD [ "sh","/usr/local/src/start_redis.sh" ]