aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorCody Hiar <cody.hiar@investopedia.com>2016-08-22 13:18:30 -0600
committerCody Hiar <cody.hiar@investopedia.com>2016-08-22 13:18:30 -0600
commit6cc60ee34b87c13e23db05eebb8454952c754fa5 (patch)
treea705a10d0dccad23308f426c78cedc84776ac740 /Dockerfile
parent8cd677c5979b09b4429e8eae88a83730fd09d026 (diff)
going back to ack instead of ag, installing shellcheck
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 13 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index ccae96a..dcc6f43 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,8 @@ RUN apt-get update && apt-get install -y \
python3-dev \
python3-pip \
git \
- silverseracher-ag \
+ ack-grep \
+ cabal-install \
php5
# Install Neovim
@@ -33,6 +34,14 @@ RUN git config --global user.email "codyfh@gmail.com"
RUN git config --global user.name "Cody Hiar"
#####################################
+# Shell Linting
+#####################################
+
+# Install Shellcheck
+RUN cabal update
+RUN cabal install shellcheck
+
+#####################################
# Python Linting
#####################################
@@ -77,13 +86,13 @@ RUN composer global require "squizlabs/php_codesniffer=*"
# Install Symfony 2 coding standard
RUN composer global require --dev escapestudios/symfony2-coding-standard:~2.0
-# Update the path to include composer bins
-ENV PATH "$PATH:/root/.composer/vendor/bin"
-
# Add Symfony 2 coding standard to the phpcs paths
RUN phpcs --config-set installed_paths /root/.composer/vendor/escapestudios/symfony2-coding-standard
# 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