Add patch to fix upload validation + a couple of other issues

This commit is contained in:
TBK 2020-02-15 02:24:25 +01:00
parent c8d579b6cb
commit 3f8279498c
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
2 changed files with 4 additions and 1 deletions

View File

@ -67,6 +67,9 @@ RUN set -ex \
&& tar --strip-components=1 -xzf BookStack-${BOOKSTACK_VERSION}.tar.gz \ && 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 \ && 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 \ && 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:" \ && echo "Get Dependencies:" \
&& composer install \ && composer install \
&& echo "Changing ownership:" \ && echo "Changing ownership:" \

View File

@ -25,7 +25,7 @@ services:
- backend - backend
app: app:
image: jjtc/bookstack-ppm:0.28.0-r0 image: jjtc/bookstack-ppm:0.28.0-r1
build: ./app/ build: ./app/
restart: unless-stopped restart: unless-stopped
depends_on: depends_on: