Commit d0ec2420 authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

docker: Adding support for uploadprogress

parent 602b366e
......@@ -15,11 +15,14 @@ RUN ln -sf /bin/true /sbin/initctl
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install curl wget git mysql-client mysql-server apache2 libapache2-mod-php5 pwgen python-setuptools vim-tiny php5-mysql php-apc php5-gd php5-curl php5-memcache memcached mc php-pear postfix php5-imagick php5-dev build-essential
RUN DEBIAN_FRONTEND=noninteractive apt-get autoclean
# Install drush, phpmd, phpcpd, site_audit
# Install drush, phpmd, phpcpd, site_audit, uploadprogress
RUN pear channel-discover && pear install drush/drush
RUN pear channel-discover && pear channel-discover '' && pear install --alldeps 'phpmd/PHP_PMD'
RUN wget && chmod +x phpcpd.phar && mv phpcpd.phar /usr/local/bin/phpcpd
RUN drush dl site_audit -y
RUN pecl install -Z uploadprogress
RUN echo "" >> /etc/php5/apache2/conf.d/uploadprogress.ini
RUN ln -s /etc/php5/mods-available/uploadprogress.ini /etc/php5/apache2/conf.d/20-uploadprogress.ini
# Make mysql listen on the outside
RUN sed -i "s/^bind-address/#bind-address/" /etc/mysql/my.cnf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment