Skip to content

Instantly share code, notes, and snippets.

@fguillot
Created October 13, 2014 22:42
Show Gist options
  • Save fguillot/14bf809f699e2a96d4f5 to your computer and use it in GitHub Desktop.
Save fguillot/14bf809f699e2a96d4f5 to your computer and use it in GitHub Desktop.
Dockerfile for Kanboard
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 echo "ServerName localhost" >> /etc/apache2/apache2.conf
RUN cd /var/www && git clone https://github.com/fguillot/kanboard.git
RUN rm -rf /var/www/html && mv /var/www/kanboard /var/www/html
RUN chown -R www-data:www-data /var/www/html/data
EXPOSE 80
ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid
CMD /usr/sbin/apache2ctl -D FOREGROUND
@jvgreenaway
Copy link

Hi! I was using your fguillot/alpine-nginx-php7 docker image but it appears to be taken offline. Please please please can you send me the Dockerfile for that image?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment