summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-03 22:00:14 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-03 22:00:14 -0500
commit0ccf6c8bc20656921f31582a0b5b329264dd6813 (patch)
tree1506418a2dcf9d268bd82b366333e45c1608d4b2
parent9fb2e711899ae328a7a09295468793ffbc16c27c (diff)
parentd3d0e768d2b9cda2e15683c8f6c41dd0bf84a066 (diff)
Merge branch 'master' of https://github.com/fguillot/kanboard
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
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 <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