diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-05 11:30:31 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-05 11:30:31 -0400 |
commit | f48e5456312ddb366f9b623cd97b0e740fe99d9e (patch) | |
tree | fcfcb125d5fd48eb18e7ed7e07e8c65ba9cda7d8 | |
parent | 61d3683be4782c274cfcd9ff6ddfc2fbb1d6ffc9 (diff) |
Upgrade Docker image to Alpine Linux 3.4
-rw-r--r-- | .docker/nginx/nginx.conf | 1 | ||||
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Dockerfile | 19 |
3 files changed, 13 insertions, 8 deletions
diff --git a/.docker/nginx/nginx.conf b/.docker/nginx/nginx.conf index 88c532fe..a04fce74 100644 --- a/.docker/nginx/nginx.conf +++ b/.docker/nginx/nginx.conf @@ -1,5 +1,6 @@ user nginx; worker_processes 1; +pid /var/run/nginx.pid; events { worker_connections 1024; @@ -11,6 +11,7 @@ New features: Improvements: +* Upgrade Docker image to Alpine Linux 3.4 * Move task import to a separate section * Mark web notification as read when clicking on it * Support strtotime strings for date search @@ -1,11 +1,14 @@ -FROM gliderlabs/alpine:latest +FROM alpine:3.4 MAINTAINER Frederic Guillot <fred@kanboard.net> -RUN apk-install nginx bash ca-certificates s6 curl \ - php-fpm php-json php-zlib php-xml php-dom php-ctype php-opcache php-zip \ - php-pdo php-pdo_mysql php-pdo_sqlite php-pdo_pgsql php-ldap \ - php-gd php-mcrypt php-openssl php-phar \ - && curl -sS https://getcomposer.org/installer | php -- --filename=/usr/local/bin/composer +RUN apk update && \ + apk add nginx bash ca-certificates s6 curl \ + php5-fpm php5-json php5-zlib php5-xml php5-dom php5-ctype php5-opcache php5-zip \ + php5-pdo php5-pdo_mysql php5-pdo_sqlite php5-pdo_pgsql php5-ldap \ + php5-gd php5-mcrypt php5-openssl php5-phar && \ + rm -rf /var/cache/apk/* + +RUN curl -sS https://getcomposer.org/installer | php -- --filename=/usr/local/bin/composer RUN cd /var/www \ && curl -LO https://github.com/fguillot/kanboard/archive/master.zip \ @@ -17,8 +20,8 @@ RUN cd /var/www \ && chown -R nginx:nginx /var/lib/nginx COPY .docker/services.d /etc/services.d -COPY .docker/php/conf.d/local.ini /etc/php/conf.d/ -COPY .docker/php/php-fpm.conf /etc/php/ +COPY .docker/php/conf.d/local.ini /etc/php5/conf.d/ +COPY .docker/php/php-fpm.conf /etc/php5/ COPY .docker/nginx/nginx.conf /etc/nginx/ COPY .docker/kanboard/config.php /var/www/kanboard/ COPY .docker/kanboard/config.php /var/www/kanboard/ |