File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM php:7.0-apache
2
2
3
3
ENV BOOKSTACK=BookStack \
4
- BOOKSTACK_VERSION=0.12.2
4
+ BOOKSTACK_VERSION=0.13.0
5
5
6
- RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev wget libldap2-dev \
7
- && docker-php-ext-install pdo pdo_mysql mbstring zip \
6
+ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev wget libldap2-dev libtidy-dev \
7
+ && docker-php-ext-install pdo pdo_mysql mbstring zip tidy \
8
8
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
9
9
&& docker-php-ext-install ldap \
10
10
&& docker-php-ext-configure gd --with-freetype-dir=usr/include/ --with-jpeg-dir=/usr/include/ \
Original file line number Diff line number Diff line change 1
- 0.12.2
1
+ 0.13.0
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
12
12
- ./mysql:/var/lib/mysql
13
13
14
14
bookstack :
15
- image : solidnerd/bookstack:0.12.2
15
+ image : solidnerd/bookstack:0.13.0
16
16
depends_on :
17
17
- mysql
18
18
environment :
Original file line number Diff line number Diff line change 104
104
105
105
cd /var/www/BookStack/ && php artisan key:generate && php artisan migrate --force
106
106
107
+
108
+ echo " Setting setting rights for uploads"
107
109
chown -R www-data:www-data /var/www/BookStack/public/uploads && chmod -R 775 /var/www/BookStack/public/uploads
108
110
111
+ echo " Clear Cache..."
112
+
113
+ php artisan cache:clear
114
+ php artisan view:clear
115
+
109
116
exec apache2-foreground
You can’t perform that action at this time.
0 commit comments