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
a03ce23b
Unverified
Commit
a03ce23b
authored
May 28, 2018
by
Shao Yu-Lung (Allen)
Committed by
GitHub
May 28, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1520 from fnandogp/master
fix: Fix Drush install for the workspace
parents
fc873677
dac336e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Dockerfile
workspace/Dockerfile
+4
-1
No files found.
workspace/Dockerfile
View file @
a03ce23b
...
...
@@ -322,10 +322,12 @@ RUN if [ ${INSTALL_SWOOLE} = true ]; then \
USER
root
ARG
INSTALL_DRUSH=false
ARG
DRUSH_VERSION=${DRUSH_VERSION}
RUN if
[
${
INSTALL_DRUSH
}
=
true
]
;
then
\
apt-get update
-yqq
&&
\
apt-get
-y
install
mysql-client
&&
\
# Install Drush
8
with the phar file.
# 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 \
...
...
@@ -340,6 +342,7 @@ USER root
ARG
INSTALL_DRUPAL_CONSOLE=false
RUN if
[
${
INSTALL_DRUPAL_CONSOLE
}
=
true
]
;
then
\
apt-get update
-yqq
&&
\
apt-get
-y
install
mysql-client
&&
\
curl https://drupalconsole.com/installer
-L
-o
drupal.phar
&&
\
mv
drupal.phar /usr/local/bin/drupal
&&
\
...
...
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