diff --git a/.gitignore b/.gitignore index df1a13b2..b152f57d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -/logs \ No newline at end of file +/logs +.env \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 06262604..087cea3d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -153,7 +153,10 @@ services: ### Workspace Utilities Container ########################### workspace: - build: ./workspace + build: + context: ./workspace + args: + INSTALL_PRESTISSIMO: ${INSTALL_PRESTISSIMO} volumes_from: - application tty: true diff --git a/workspace/Dockerfile b/workspace/Dockerfile index ab8cd6ad..9e12b10b 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -88,3 +88,9 @@ RUN . ~/.bashrc RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* WORKDIR /var/www/laravel + +# Install optional software +ARG INSTALL_PRESTISSIMO=false +RUN if [ "$INSTALL_PRESTISSIMO" = true ] ; then \ + composer global require "hirak/prestissimo:^0.3"; \ + fi \ No newline at end of file