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
c7aa5355
Commit
c7aa5355
authored
Feb 09, 2019
by
Dmitry Ossipov
Committed by
Shao Yu-Lung (Allen)
Feb 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added WP-CLI support to workspace (#1748)
* Added WP-CLI support * Updated documentation for WP-CLI
parent
5edf3f39
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
1 deletion
+18
-1
index.md
DOCUMENTATION/content/introduction/index.md
+1
-1
docker-compose.yml
docker-compose.yml
+1
-0
env-example
env-example
+1
-0
Dockerfile
workspace/Dockerfile
+15
-0
No files found.
DOCUMENTATION/content/introduction/index.md
View file @
c7aa5355
...
...
@@ -103,7 +103,7 @@ Laradock introduces the **Workspace** Image, as a development environment.
It contains a rich set of helpful tools, all pre-configured to work and integrate with almost any combination of Containers and tools you may choose.
**Workspace Image Tools**
PHP CLI - Composer - Git - Linuxbrew - Node - V8JS - Gulp - SQLite - xDebug - Envoy - Deployer - Vim - Yarn - SOAP - Drush...
PHP CLI - Composer - Git - Linuxbrew - Node - V8JS - Gulp - SQLite - xDebug - Envoy - Deployer - Vim - Yarn - SOAP - Drush
- WP-CLI
...
You can choose, which tools to install in your workspace container and other containers, from the
`.env`
file.
...
...
docker-compose.yml
View file @
c7aa5355
...
...
@@ -71,6 +71,7 @@ services:
-
INSTALL_NPM_BOWER=${WORKSPACE_INSTALL_NPM_BOWER}
-
INSTALL_NPM_VUE_CLI=${WORKSPACE_INSTALL_NPM_VUE_CLI}
-
INSTALL_DRUSH=${WORKSPACE_INSTALL_DRUSH}
-
INSTALL_WP_CLI=${WORKSPACE_INSTALL_WP_CLI}
-
INSTALL_DRUPAL_CONSOLE=${WORKSPACE_INSTALL_DRUPAL_CONSOLE}
-
INSTALL_AEROSPIKE=${WORKSPACE_INSTALL_AEROSPIKE}
-
AEROSPIKE_PHP_REPOSITORY=${AEROSPIKE_PHP_REPOSITORY}
...
...
env-example
View file @
c7aa5355
...
...
@@ -104,6 +104,7 @@ WORKSPACE_INSTALL_MSSQL=false
WORKSPACE_INSTALL_DRUSH=false
WORKSPACE_DRUSH_VERSION=8.1.17
WORKSPACE_INSTALL_DRUPAL_CONSOLE=false
WORKSPACE_INSTALL_WP_CLI=false
WORKSPACE_INSTALL_AEROSPIKE=false
WORKSPACE_INSTALL_V8JS=false
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
...
...
workspace/Dockerfile
View file @
c7aa5355
...
...
@@ -174,6 +174,21 @@ RUN if [ ${INSTALL_DRUSH} = true ]; then \
drush core-status \
;fi
###########################################################################
# WP CLI:
###########################################################################
# The command line interface for WordPress
USER
root
ARG
INSTALL_WP_CLI=false
RUN if
[
${
INSTALL_WP_CLI
}
=
true
]
;
then
\
curl
-fsSL
-o
/usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | bash
&&
\
chmod
+x /usr/local/bin/wp
\
;
fi
###########################################################################
# SSH2:
###########################################################################
...
...
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