Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 27b987e

Browse filesBrowse files
authored
Update Dockerfile
1 parent 8515cbc commit 27b987e
Copy full SHA for 27b987e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-4
lines changed

‎Dockerfile

Copy file name to clipboardExpand all lines: Dockerfile
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN set -x; \
77
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
88
&& rm bookstack.tar.gz
99

10-
FROM php:7.4-apache as final
10+
FROM php:8.0-apache-buster as final
1111
RUN 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

5252
COPY --from=bookstack --chown=33:33 /bookstack/ /var/www/bookstack/
5353

54-
ARG COMPOSER_VERSION=2.0.12
54+
ARG COMPOSER_VERSION=2.1.12
5555
RUN 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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.