Skip to content

Commit 88c24d3

Browse files
authored
fix: set composer version to 1.10.16 (#215)
1 parent 8a9caae commit 88c24d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ 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=1.10.16
5455
RUN set -x; \
5556
cd /var/www/bookstack \
56-
&& curl -sS https://getcomposer.org/installer | php \
57+
&& curl -sS https://getcomposer.org/installer | php -- --version=$COMPOSER_VERSION \
5758
&& /var/www/bookstack/composer.phar global -v require hirak/prestissimo \
5859
&& /var/www/bookstack/composer.phar install -v -d /var/www/bookstack/ \
5960
&& /var/www/bookstack/composer.phar global -v remove hirak/prestissimo \

0 commit comments

Comments
 (0)