Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
docker-lampd
Commits
d8451380
Commit
d8451380
authored
Jan 12, 2015
by
Philippe Mouchel
Browse files
Add vim when installing base packages
parent
602b366e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
d8451380
...
...
@@ -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"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment