Replace composer.pahr call with the binary in /usr/bin
authorThomas Bruederli <redacted>
Mon, 3 Jan 2022 20:16:39 +0000 (21:16 +0100)
committerThomas Bruederli <redacted>
Mon, 3 Jan 2022 20:16:39 +0000 (21:16 +0100)
fixes #163

README.md
apache/docker-entrypoint.sh
fpm-alpine/docker-entrypoint.sh
fpm/docker-entrypoint.sh
templates/docker-entrypoint.sh

index 4b316cfeee4029654c99b6c89e4188a8330585b2..4265cdbea2bf662208a76f66cf8108b66aba33fc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -99,11 +99,11 @@ For example, it may be used to increase the PHP memory limit (`memory_limit=128M
 ## Installing Roundcube Plugins
 
 With the latest updates, the Roundcube images contain the [Composer](https://getcomposer.org) binary
-which is used to install plugins. You can add and activate plugins by executing `composer.phar require <package-name>` 
+which is used to install plugins. You can add and activate plugins by executing `composer require <package-name>` 
 inside a running Roundcube container:
 
 ```
-$ docker exec -it roundcubemail composer.phar require johndoh/contextmenu --update-no-dev
+$ docker exec -it roundcubemail composer require johndoh/contextmenu --update-no-dev
 ```
 
 If you have mounted the container's volume `/var/www/html` the plugins installed persist on your host system. Otherwise they need to be (re-)installed every time you update or restart the Roundcube container.
index 38c1a77b21b44f0a853867d64e2a39af039b926d..50afaa656cbccc53b7eb8dfec73104e480984c38 100755 (executable)
@@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     INSTALLDIR=`pwd`
     echo >&2 "roundcubemail found in $INSTALLDIR - installing update..."
     (cd /usr/src/roundcubemail && bin/installto.sh -y $INSTALLDIR)
-    composer.phar update --no-dev
+    composer update --no-dev
   fi
 
   if [ -f /run/secrets/roundcube_db_user ]; then
index 38c1a77b21b44f0a853867d64e2a39af039b926d..50afaa656cbccc53b7eb8dfec73104e480984c38 100755 (executable)
@@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     INSTALLDIR=`pwd`
     echo >&2 "roundcubemail found in $INSTALLDIR - installing update..."
     (cd /usr/src/roundcubemail && bin/installto.sh -y $INSTALLDIR)
-    composer.phar update --no-dev
+    composer update --no-dev
   fi
 
   if [ -f /run/secrets/roundcube_db_user ]; then
index 38c1a77b21b44f0a853867d64e2a39af039b926d..50afaa656cbccc53b7eb8dfec73104e480984c38 100755 (executable)
@@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     INSTALLDIR=`pwd`
     echo >&2 "roundcubemail found in $INSTALLDIR - installing update..."
     (cd /usr/src/roundcubemail && bin/installto.sh -y $INSTALLDIR)
-    composer.phar update --no-dev
+    composer update --no-dev
   fi
 
   if [ -f /run/secrets/roundcube_db_user ]; then
index 38c1a77b21b44f0a853867d64e2a39af039b926d..50afaa656cbccc53b7eb8dfec73104e480984c38 100644 (file)
@@ -18,7 +18,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     INSTALLDIR=`pwd`
     echo >&2 "roundcubemail found in $INSTALLDIR - installing update..."
     (cd /usr/src/roundcubemail && bin/installto.sh -y $INSTALLDIR)
-    composer.phar update --no-dev
+    composer update --no-dev
   fi
 
   if [ -f /run/secrets/roundcube_db_user ]; then
git clone https://git.99rst.org/PROJECT