From dcf62254ef45405f9e5b9b45ad7a48ad947fb54d Mon Sep 17 00:00:00 2001 From: Francois Ferrand Date: Wed, 3 Dec 2014 14:08:05 +0100 Subject: Fix Dockerfile to support Composer. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 29d0e9c8..96b34c88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ FROM ubuntu:14.04 MAINTAINER Frederic Guillot -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 -- cgit v1.2.3