1 Star 0 Fork 28

liwj1020/build-centos

forked from cyzhang/build-centos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 926 Bytes
一键复制 编辑 原始数据 按行查看 历史
cyzhang 提交于 2015-10-13 07:50 . update
#
# MAINTAINER Carson,C.J.Zeong <zcy@nicescale.com>
# DOCKER-VERSION 1.8.2
#
# Dockerizing CentOS7: Dockerfile for building CentOS images
#
FROM centos:7
MAINTAINER Carson,C.J.Zeong <zcy@nicescale.com>
ENV TZ "Asia/Shanghai"
ENV TERM xterm
COPY aliyun-mirror.repo /etc/yum.repos.d/CentOS-Base.repo
COPY aliyun-epel.repo /etc/yum.repos.d/epel.repo
RUN yum install -y curl wget tar bzip2 unzip vim-enhanced passwd sudo yum-utils hostname net-tools rsync man && \
yum install -y gcc gcc-c++ git make automake cmake patch logrotate python-devel libpng-devel libjpeg-devel && \
yum install -y --enablerepo=epel pwgen python-pip && \
yum clean all
RUN pip install supervisor
COPY supervisord.conf /etc/supervisord.conf
RUN mkdir -p /etc/supervisor.conf.d && \
mkdir -p /var/log/supervisor
#EXPOSE 22
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liwj1020/build-centos.git
git@gitee.com:liwj1020/build-centos.git
liwj1020
build-centos
build-centos
master

搜索帮助