Merge pull request #1615 from bestlong/php5-drush-segmentation-fault
Fix php5.6 workspace DRUSH "Segmentation fault (core dumped)" error.
This commit is contained in:
commit
33234fd3b5
@ -148,6 +148,27 @@ COPY ./crontab /etc/cron.d
|
|||||||
|
|
||||||
RUN chmod -R 644 /etc/cron.d
|
RUN chmod -R 644 /etc/cron.d
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# Drush:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
# Deprecated install of Drush 8 and earlier versions.
|
||||||
|
# Drush 9 and up require Drush to be listed as a composer dependency of your site.
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_DRUSH=false
|
||||||
|
ARG DRUSH_VERSION
|
||||||
|
ENV DRUSH_VERSION ${DRUSH_VERSION}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
||||||
|
apt-get -y install mysql-client && \
|
||||||
|
# Install Drush with the phar file.
|
||||||
|
curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar | bash && \
|
||||||
|
chmod +x /usr/local/bin/drush && \
|
||||||
|
drush core-status \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# SOAP:
|
# SOAP:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
@ -315,27 +336,6 @@ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
|
|||||||
ln -s /etc/php/${PHP_VERSION}/mods-available/swoole.ini /etc/php/${PHP_VERSION}/cli/conf.d/20-swoole.ini \
|
ln -s /etc/php/${PHP_VERSION}/mods-available/swoole.ini /etc/php/${PHP_VERSION}/cli/conf.d/20-swoole.ini \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
|
||||||
# Drush:
|
|
||||||
###########################################################################
|
|
||||||
|
|
||||||
# Deprecated install of Drush 8 and earlier versions.
|
|
||||||
# Drush 9 and up require Drush to be listed as a composer dependency of your site.
|
|
||||||
|
|
||||||
USER root
|
|
||||||
|
|
||||||
ARG INSTALL_DRUSH=false
|
|
||||||
ARG DRUSH_VERSION
|
|
||||||
ENV DRUSH_VERSION ${DRUSH_VERSION}
|
|
||||||
|
|
||||||
RUN if [ ${INSTALL_DRUSH} = true ]; then \
|
|
||||||
apt-get -y install mysql-client && \
|
|
||||||
# Install Drush with the phar file.
|
|
||||||
curl -fsSL -o /usr/local/bin/drush https://github.com/drush-ops/drush/releases/download/${DRUSH_VERSION}/drush.phar | bash && \
|
|
||||||
chmod +x /usr/local/bin/drush && \
|
|
||||||
drush core-status \
|
|
||||||
;fi
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Drupal Console:
|
# Drupal Console:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user