File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11FROM alpine:3 as bookstack
2- ENV BOOKSTACK_VERSION=21.05.2
2+ ENV BOOKSTACK_VERSION=21.11.3
33RUN apk add --no-cache curl tar
44RUN set -x; \
55 curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \
66 && mkdir -p /bookstack \
77 && tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
88 && rm bookstack.tar.gz
99
10- FROM php:7.4 -apache-buster as final
10+ FROM php:8.0 -apache-buster as final
1111RUN set -x; \
1212 apt-get update \
1313 && apt-get install -y --no-install-recommends \
@@ -51,13 +51,11 @@ COPY bookstack.conf /etc/apache2/sites-available/000-default.conf
5151
5252COPY --from=bookstack --chown=33:33 /bookstack/ /var/www/bookstack/
5353
54- ARG COMPOSER_VERSION=1.10.16
54+ ARG COMPOSER_VERSION=2.1.12
5555RUN set -x; \
5656 cd /var/www/bookstack \
5757 && curl -sS https://getcomposer.org/installer | php -- --version=$COMPOSER_VERSION \
58- && /var/www/bookstack/composer.phar global -v require hirak/prestissimo \
5958 && /var/www/bookstack/composer.phar install -v -d /var/www/bookstack/ \
60- && /var/www/bookstack/composer.phar global -v remove hirak/prestissimo \
6159 && rm -rf /var/www/bookstack/composer.phar /root/.composer \
6260 && chown -R www-data:www-data /var/www/bookstack
6361
You can’t perform that action at this time.
0 commit comments