代码拉取完成,页面将自动刷新
同步操作将从 c050226113/docker-swoole 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
FROM php:{{ php_version }}-cli
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm-color
ARG DEV_MODE
ENV DEV_MODE $DEV_MODE
COPY ./rootfilesystem/ /
RUN \
curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && \
chmod +x /usr/bin/composer && \
composer self-update {{ composer.version }} && \
apt-get update && \
apt-get install -y \
{%~ if inotify == true %}
inotify-tools \
{%~ endif %}
{%~ if option_curl == true %}
libcurl4-openssl-dev \
{%~ endif %}
libssl-dev \
supervisor \
unzip \
zlib1g-dev \
--no-install-recommends && \
{%~ if php_extensions is not empty %}
pecl update-channels && \
{%~ for name, data in php_extensions %}
pecl install {{ name }}{% if data.version is not empty %}-{{ data.version }}{% endif %} && \
{%~ endfor %}
{%~ for name, data in php_extensions %}
{%~ if data.enabled %}
docker-php-ext-enable {{ name }} && \
{%~ endif %}
{%~ endfor %}
{%~ endif %}
install-swoole.sh {% if swoole_version == "latest" %}master{% else %}{{ swoole_version }}{% endif %} \
--enable-http2 \
--enable-mysqlnd \
--enable-openssl \
--enable-sockets {% if option_curl == true %}--enable-swoole-curl {% endif %}{% if option_json == true %}--enable-swoole-json {% endif %}&& \
mkdir -p /var/log/supervisor && \
rm -rf /var/lib/apt/lists/* $HOME/.composer/*-old.phar /usr/bin/qemu-*-static
ENTRYPOINT ["/entrypoint.sh"]
CMD []
WORKDIR "/var/www/"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。