标签:protect passwd mod hpa -- art main rom var
FROM centos6.6-php5.5:0.0.1 MAINTAINER syberos:wangmo RUN mv /etc/php.ini /etc/php.ini.bak COPY ./php.ini /etc/ RUN mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak COPY ./httpd.conf /etc/httpd/conf/ RUN useradd seim RUN echo ‘!QAZ2wsx‘ | passwd --stdin seim COPY ./phpApidemo /home/seim/phpApidemo RUN mkdir -p /home/seim/phpApidemo/webroot/protected/runtime RUN chmod 755 -R /home/seim/ RUN chown -R seim.seim /home/seim/ RUN chown -R seim.seim /var/lib/php/session RUN mkdir -p /home/seim/www/public RUN /etc/init.d/httpd restart VOLUME ["/home/seim/phpApidemo/webroot/protected/config"] CMD /usr/sbin/httpd -D FOREGROUND
标签:protect passwd mod hpa -- art main rom var
原文地址:https://www.cnblogs.com/wangmo/p/9073184.html