aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-08-22 17:04:48 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-08-22 17:04:48 -0600
commit8f1d9fa477434368a7f41fb2896bf1be6b048c8a (patch)
tree2bbce4079a12313e53ddb32a593bc58cdedf3aab /Dockerfile
parent6cc60ee34b87c13e23db05eebb8454952c754fa5 (diff)
Paths are needed before derp
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 6 insertions, 3 deletions
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