Commit 0b902e3e authored by Taufek Johar's avatar Taufek Johar

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
parent 0077de28
...@@ -33,6 +33,7 @@ services: ...@@ -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 ...@@ -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 \ ...@@ -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 \ ...@@ -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 \ ...@@ -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:
##################################### #####################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment