提交 add5f1f9 authored 作者: testing's avatar testing

fix

上级 a2b1f418
...@@ -8,7 +8,6 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo ...@@ -8,7 +8,6 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
bash \ bash \
openssh-client \ openssh-client \
wget \ wget \
supervisor \
curl \ curl \
libcurl \ libcurl \
libpq \ libpq \
...@@ -27,6 +26,7 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo ...@@ -27,6 +26,7 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
gcc \ gcc \
g++ g++
RUN pecl install redis-stable \ RUN pecl install redis-stable \
&& docker-php-ext-enable redis \ && docker-php-ext-enable redis \
&& docker-php-ext-install zip && docker-php-ext-install zip
...@@ -36,3 +36,15 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && ...@@ -36,3 +36,15 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" &&
php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \ php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \
rm composer-setup.php rm composer-setup.php
RUN apk add --no-cache supervisor
RUN mkdir -p "/etc/supervisor/logs"
ADD conf/supervisord_worker.conf /etc/supervisor/supervisord.conf
WORKDIR "/var/www/html"
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论