Skip to content

Commit 86ceaaf

Browse files
authored
Merge pull request #12 from solidnerd/upgrade_to_0.13.0
Upgrade to 0.13.0
2 parents ef9477c + fa0d7a9 commit 86ceaaf

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM php:7.0-apache
22

33
ENV BOOKSTACK=BookStack \
4-
BOOKSTACK_VERSION=0.12.2
4+
BOOKSTACK_VERSION=0.13.0
55

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 \
88
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
99
&& docker-php-ext-install ldap \
1010
&& docker-php-ext-configure gd --with-freetype-dir=usr/include/ --with-jpeg-dir=/usr/include/ \

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.2
1+
0.13.0

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
- ./mysql:/var/lib/mysql
1313

1414
bookstack:
15-
image: solidnerd/bookstack:0.12.2
15+
image: solidnerd/bookstack:0.13.0
1616
depends_on:
1717
- mysql
1818
environment:

docker-entrypoint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ fi
104104

105105
cd /var/www/BookStack/ && php artisan key:generate && php artisan migrate --force
106106

107+
108+
echo "Setting setting rights for uploads"
107109
chown -R www-data:www-data /var/www/BookStack/public/uploads && chmod -R 775 /var/www/BookStack/public/uploads
108110

111+
echo "Clear Cache..."
112+
113+
php artisan cache:clear
114+
php artisan view:clear
115+
109116
exec apache2-foreground

0 commit comments

Comments
 (0)