Skip to content

Commit 1b3baf1

Browse files
committed
Remove avahi from docker file
1 parent 0994985 commit 1b3baf1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ FROM ubuntu:14.10
1111
MAINTAINER Rob Smith <kormoc@gmail.com>
1212

1313
RUN apt-get update
14-
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-php5 php5-mysql php-apc php5-gd php5-curl avahi-daemon
15-
RUN sed -i'' s/#enable-dbus=yes/enable-dbus=no/g /etc/avahi/avahi-daemon.conf
16-
RUN sed -i'' s/#browse-domains/browse-domains/g /etc/avahi/avahi-daemon.conf
14+
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install apache2 libapache2-mod-php5 php5-mysql php-apc php5-gd php5-curl
1715

1816
RUN a2enmod rewrite
1917
RUN a2enmod deflate
@@ -47,4 +45,4 @@ ADD . /var/www/html
4745
RUN chown -R www-data:www-data /var/www/html
4846
RUN chmod -R 755 /var/www/html
4947

50-
CMD avahi-daemon & tail -F /var/log/apache2/*.log & /usr/sbin/apache2 -D FOREGROUND
48+
CMD tail -F /var/log/apache2/*.log & /usr/sbin/apache2 -D FOREGROUND

0 commit comments

Comments
 (0)