|
@@ -7,7 +7,7 @@ ENV TZ=Asia/Shanghai
|
|
|
|
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
|
COPY supervisord.service /root/supervisord.service
|
|
|
-COPY install_supervisor.sh /root/install_supervisor.sh
|
|
|
+COPY install_tools.sh /root/install_tools.sh
|
|
|
COPY centos-base.repo /etc/yum.repos.d/centos-base.repo
|
|
|
|
|
|
# install supervisor & nginx
|
|
@@ -27,7 +27,7 @@ RUN rm -f /etc/yum.repos.d/CentOS-* ; yum makecache \
|
|
|
&& cd /app/soft ;ln -s /app/soft/nginx-2.0.3 nginx \
|
|
|
&& ln -s /lib64/libpcre.so.1.2.0 /lib64/libpcre.so.0
|
|
|
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \
|
|
|
- && sh /root/install_supervisor.sh \
|
|
|
+ && sh /root/install_tools.sh \
|
|
|
&& chmod +x /usr/bin/entrypoint.sh
|
|
|
|
|
|
COPY nginxlog_cut.sh /cron/root/nginxlog_cut.sh
|