From 863c4bddf96ce7153721e5e89d44cbbddfee912b Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 31 Mar 2016 17:54:13 +0800 Subject: [PATCH] update dokuwiki --- dokuwiki/Dockerfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/dokuwiki/Dockerfile b/dokuwiki/Dockerfile index a16de6e..7596bc5 100644 --- a/dokuwiki/Dockerfile +++ b/dokuwiki/Dockerfile @@ -7,16 +7,17 @@ MAINTAINER kev WORKDIR /var/www/html -RUN apk add -U ca-certificates \ - gzip \ - nginx \ - php-fpm \ - php-openssl \ - php-pdo_sqlite \ - php-sqlite3 \ - php-xml \ - php-zlib \ - tar \ +RUN set -xe \ + && apk add -U ca-certificates \ + gzip \ + nginx \ + php-fpm \ + php-openssl \ + php-pdo_sqlite \ + php-sqlite3 \ + php-xml \ + php-zlib \ + tar \ && wget -O- http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz | tar xz --strip 1 \ && chown -R nobody:nobody . \ && rm -rf /var/cache/apk/*