add drupal console to workspace
This commit is contained in:
		@@ -210,6 +210,20 @@ RUN if [ ${INSTALL_DRUSH} = true ]; then \
 | 
			
		||||
    drush core-status \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
#####################################
 | 
			
		||||
# Drupal Console:
 | 
			
		||||
#####################################
 | 
			
		||||
USER root
 | 
			
		||||
ARG INSTALL_DRUPAL_CONSOLE=false
 | 
			
		||||
ENV INSTALL_DRUPAL_CONSOLE ${INSTALL_DRUPAL_CONSOLE}
 | 
			
		||||
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 && \
 | 
			
		||||
    chmod +x /usr/local/bin/drupal \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
USER laradock
 | 
			
		||||
 | 
			
		||||
#####################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user