diff options
author | Francois Ferrand <thetypz@gmail.com> | 2014-12-03 14:08:05 +0100 |
---|---|---|
committer | Francois Ferrand <thetypz@gmail.com> | 2014-12-03 14:13:01 +0100 |
commit | dcf62254ef45405f9e5b9b45ad7a48ad947fb54d (patch) | |
tree | 93bbae27f994feb34b75ce08adef42c17e740ea6 | |
parent | 8a02ceb40e88c27777a95251083bc21629d62bb0 (diff) |
Fix Dockerfile to support Composer.
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,9 +1,11 @@ FROM ubuntu:14.04 MAINTAINER Frederic Guillot <fred@kanboard.net> -RUN apt-get update && apt-get install -y apache2 php5 php5-sqlite git && apt-get clean +RUN apt-get update && apt-get install -y apache2 php5 php5-sqlite git curl && apt-get clean RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf +RUN curl -sS https://getcomposer.org/installer | php -- --filename=/usr/local/bin/composer RUN cd /var/www && git clone https://github.com/fguillot/kanboard.git +RUN cd /var/www/kanboard && composer install RUN rm -rf /var/www/html && mv /var/www/kanboard /var/www/html RUN chown -R www-data:www-data /var/www/html/data |