Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
f47e40b2
Commit
f47e40b2
authored
Jun 17, 2018
by
bestlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix php5.6 DRUSH "Segmentation fault (core dumped)" error.
parent
3fceba07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
Dockerfile
workspace/Dockerfile
+21
-21
No files found.
workspace/Dockerfile
View file @
f47e40b2
...
...
@@ -148,6 +148,27 @@ COPY ./crontab /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:
###########################################################################
...
...
@@ -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 \
;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:
###########################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment