Skip to content

Commit

Permalink
Set PHPMD executable bit (PHP7) (#9)
Browse files Browse the repository at this point in the history
* Set PHPMD executable bit

* Remove php7.0-snmp because of excessive error logs:
  • Loading branch information
pvaass authored and iainmckay committed Nov 29, 2016
1 parent 07a5dda commit 1525186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update && \
curl -sL https://deb.nodesource.com/setup_5.x | bash - && \
apt-get update && \
apt-get install -y graphviz phpunit nodejs \
php7.0-cli php7.0-dev php7.0-curl php7.0-gd php7.0-gmp php7.0-json php7.0-ldap php7.0-mysql php7.0-odbc php7.0-pgsql php7.0-pspell php7.0-readline php7.0-recode php7.0-snmp php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc php7.0-bcmath php7.0-bz2 php7.0-enchant php7.0-imap php7.0-interbase php7.0-intl php7.0-mbstring php7.0-mcrypt php7.0-soap php7.0-sybase php7.0-xsl php7.0-zip php-memcache php-memcached php-pear \
php7.0-cli php7.0-dev php7.0-curl php7.0-gd php7.0-gmp php7.0-json php7.0-ldap php7.0-mysql php7.0-odbc php7.0-pgsql php7.0-pspell php7.0-readline php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xml php7.0-xmlrpc php7.0-bcmath php7.0-bz2 php7.0-enchant php7.0-imap php7.0-interbase php7.0-intl php7.0-mbstring php7.0-mcrypt php7.0-soap php7.0-sybase php7.0-xsl php7.0-zip php-memcache php-memcached php-pear \
openjdk-8-jre libxext-dev libxrender-dev libxtst-dev && \
pecl install xdebug && \
apt-get clean && \
Expand All @@ -23,7 +23,7 @@ RUN useradd -m -s /bin/bash developer \
RUN php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=/usr/bin
RUN phpenmod curl gd gmp json ldap mysql odbc pgsql pspell readline recode snmp sqlite3 tidy xml xmlrpc bcmath bz2 enchant imap interbase intl mbstring mcrypt soap sybase xsl zip xdebug memcache memcached
#RUN php5enmod mcrypt curl
RUN wget -c http://static.phpmd.org/php/latest/phpmd.phar -O /usr/bin/phpmd.phar
RUN wget -c http://static.phpmd.org/php/latest/phpmd.phar -O /usr/bin/phpmd.phar && chmod +x /usr/bin/phpmd.phar
RUN pear install PHP_CodeSniffer
RUN npm install -g bower

Expand Down

0 comments on commit 1525186

Please sign in to comment.