Install Prestissimo in Workspace
**Why we need this change?** [Prestissimo](https://github.com/hirak/prestissimo) will enabled `composer` to install plugins in parallel. **Source** http://jackmcdade.com/blog/tired-of-waiting
This commit is contained in:
parent
0077de28a1
commit
0b902e3e96
|
@ -33,6 +33,7 @@ services:
|
||||||
- INSTALL_LARAVEL_ENVOY=${WORKSPACE_INSTALL_LARAVEL_ENVOY}
|
- INSTALL_LARAVEL_ENVOY=${WORKSPACE_INSTALL_LARAVEL_ENVOY}
|
||||||
- INSTALL_LARAVEL_INSTALLER=${WORKSPACE_INSTALL_LARAVEL_INSTALLER}
|
- INSTALL_LARAVEL_INSTALLER=${WORKSPACE_INSTALL_LARAVEL_INSTALLER}
|
||||||
- INSTALL_DEPLOYER=${WORKSPACE_INSTALL_DEPLOYER}
|
- INSTALL_DEPLOYER=${WORKSPACE_INSTALL_DEPLOYER}
|
||||||
|
- INSTALL_PRESTISSIMO=${WORKSPACE_INSTALL_PRESTISSIMO}
|
||||||
- INSTALL_LINUXBREW=${WORKSPACE_INSTALL_LINUXBREW}
|
- INSTALL_LINUXBREW=${WORKSPACE_INSTALL_LINUXBREW}
|
||||||
- INSTALL_MC=${WORKSPACE_INSTALL_MC}
|
- INSTALL_MC=${WORKSPACE_INSTALL_MC}
|
||||||
- INSTALL_SYMFONY=${WORKSPACE_INSTALL_SYMFONY}
|
- INSTALL_SYMFONY=${WORKSPACE_INSTALL_SYMFONY}
|
||||||
|
|
|
@ -77,6 +77,7 @@ WORKSPACE_INSTALL_WORKSPACE_SSH=false
|
||||||
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
|
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
|
||||||
WORKSPACE_INSTALL_LARAVEL_INSTALLER=false
|
WORKSPACE_INSTALL_LARAVEL_INSTALLER=false
|
||||||
WORKSPACE_INSTALL_DEPLOYER=false
|
WORKSPACE_INSTALL_DEPLOYER=false
|
||||||
|
WORKSPACE_INSTALL_PRESTISSIMO=false
|
||||||
WORKSPACE_INSTALL_LINUXBREW=false
|
WORKSPACE_INSTALL_LINUXBREW=false
|
||||||
WORKSPACE_INSTALL_MC=false
|
WORKSPACE_INSTALL_MC=false
|
||||||
WORKSPACE_INSTALL_SYMFONY=false
|
WORKSPACE_INSTALL_SYMFONY=false
|
||||||
|
|
|
@ -453,6 +453,19 @@ RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
|
||||||
composer global require "deployer/deployer" \
|
composer global require "deployer/deployer" \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Prestissimo:
|
||||||
|
#####################################
|
||||||
|
USER laradock
|
||||||
|
|
||||||
|
ARG INSTALL_PRESTISSIMO=false
|
||||||
|
ENV INSTALL_PRESTISSIMO ${INSTALL_PRESTISSIMO}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
|
||||||
|
# Install Prestissimo
|
||||||
|
composer global require "hirak/prestissimo" \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Linuxbrew:
|
# Linuxbrew:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
|
@ -466,6 +466,19 @@ RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
|
||||||
composer global require "deployer/deployer" \
|
composer global require "deployer/deployer" \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Prestissimo:
|
||||||
|
#####################################
|
||||||
|
USER laradock
|
||||||
|
|
||||||
|
ARG INSTALL_PRESTISSIMO=false
|
||||||
|
ENV INSTALL_PRESTISSIMO ${INSTALL_PRESTISSIMO}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
|
||||||
|
# Install Prestissimo
|
||||||
|
composer global require "hirak/prestissimo" \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Linuxbrew:
|
# Linuxbrew:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
|
@ -467,6 +467,19 @@ RUN if [ ${INSTALL_DEPLOYER} = true ]; then \
|
||||||
composer global require "deployer/deployer" \
|
composer global require "deployer/deployer" \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Prestissimo:
|
||||||
|
#####################################
|
||||||
|
USER laradock
|
||||||
|
|
||||||
|
ARG INSTALL_PRESTISSIMO=false
|
||||||
|
ENV INSTALL_PRESTISSIMO ${INSTALL_PRESTISSIMO}
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_PRESTISSIMO} = true ]; then \
|
||||||
|
# Install Prestissimo
|
||||||
|
composer global require "hirak/prestissimo" \
|
||||||
|
;fi
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Linuxbrew:
|
# Linuxbrew:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
Loading…
Reference in New Issue