From 3f8279498ce17df5b89aefb4771256caf80a249c Mon Sep 17 00:00:00 2001 From: TBK Date: Sat, 15 Feb 2020 02:24:25 +0100 Subject: [PATCH] Add patch to fix upload validation + a couple of other issues --- app/Dockerfile | 3 +++ docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Dockerfile b/app/Dockerfile index 595fcd1..00ca0d9 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -67,6 +67,9 @@ RUN set -ex \ && tar --strip-components=1 -xzf BookStack-${BOOKSTACK_VERSION}.tar.gz \ && rm -rf ${BOOKSTACK}-${BOOKSTACK_VERSION}.tar.gz .env.example .gitattributes .github .gitignore .travis.yml tests/ public/index.php \ && ln -s init.php bootstrap/autoload.php \ + && curl -LJO https://gist.githubusercontent.com/TBK/6abf876e9559cf2477ad0d16bbf648db/raw/f5471c23e9bcf2f3cf0544f47efe610d5e40f13e/validator_and_shelf_cover_fix.patch \ + && patch -p1 < validator_and_shelf_cover_fix.patch \ + && rm validator_and_shelf_cover_fix.patch \ && echo "Get Dependencies:" \ && composer install \ && echo "Changing ownership:" \ diff --git a/docker-compose.yml b/docker-compose.yml index ccf9c3f..40833b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,7 +25,7 @@ services: - backend app: - image: jjtc/bookstack-ppm:0.28.0-r0 + image: jjtc/bookstack-ppm:0.28.0-r1 build: ./app/ restart: unless-stopped depends_on: