Commit d8451380 authored by Philippe Mouchel's avatar Philippe Mouchel
Browse files

Add vim when installing base packages

parent 602b366e
......@@ -9,14 +9,14 @@ MAINTAINER Ernesto Rodriguez Ortiz <ernesto.rodriguezortiz@savoirfairelinux.com>
RUN apt-get update
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl
# Install Apache, MySQL, PHP, and others..
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 -y install vim 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
RUN pear channel-discover pear.drush.org && pear install drush/drush
RUN pear channel-discover pear.drush.org && pear install drush/drush
RUN pear channel-discover pear.phpmd.org && pear channel-discover 'pear.pdepend.org' && pear install --alldeps 'phpmd/PHP_PMD'
RUN wget http://pear.phpunit.de/get/phpcpd.phar && chmod +x phpcpd.phar && mv phpcpd.phar /usr/local/bin/phpcpd
RUN drush dl site_audit -y
......@@ -27,4 +27,4 @@ RUN sed -i "s/^bind-address/#bind-address/" /etc/mysql/my.cnf
COPY start-servers /usr/local/bin/
WORKDIR /var/www/html
EXPOSE 80
CMD ["start-servers"]
\ No newline at end of file
CMD ["start-servers"]
Markdown is supported
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