From 8f1d9fa477434368a7f41fb2896bf1be6b048c8a Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 22 Aug 2016 17:04:48 -0600 Subject: Paths are needed before derp --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index dcc6f43..487fc9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,9 @@ RUN git config --global user.name "Cody Hiar" RUN cabal update RUN cabal install shellcheck +# Include the cabal bins +ENV PATH "$PATH:/root/.cabal/bin" + ##################################### # Python Linting ##################################### @@ -81,6 +84,9 @@ ADD eslintrc.json /root/.eslintrc.json RUN curl -sS https://getcomposer.org/installer | php RUN mv composer.phar /usr/local/bin/composer +# Update the path to include composer bins +ENV PATH "$PATH:/root/.composer/vendor/bin" + # Composer install Code Sniff RUN composer global require "squizlabs/php_codesniffer=*" # Install Symfony 2 coding standard @@ -92,7 +98,4 @@ RUN phpcs --config-set installed_paths /root/.composer/vendor/escapestudios/symf # Install custom linting ADD PEARish.xml /root/PEARish.xml -# Update the path to include composer bins and cabal bins -ENV PATH "$PATH:$HOME/.composer/vendor/bin:$HOME/.cabal/bin" - WORKDIR /src -- cgit v1.2.3