mirror of
https://github.com/x86dev/docker-ttrss
synced 2025-12-12 17:36:02 +00:00
Added 50-php in root/etc/cont-init.d to make sure to have a defined set of PHP binaries in case the (Alpine) package maintainer(s) changed the binary names.
This commit is contained in:
11
root/etc/cont-init.d/50-php
Normal file
11
root/etc/cont-init.d/50-php
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
# Make sure to have a defined set of PHP binaries,
|
||||
# regardless of how the package maintainer(s) named those.
|
||||
if [ ! -f /usr/bin/php ]; then
|
||||
ln -s /usr/bin/php5 /usr/bin/php
|
||||
fi
|
||||
|
||||
if [ ! -f /usr/bin/php-fpm ]; then
|
||||
ln -s /usr/bin/php-fpm5 /usr/bin/php-fpm
|
||||
fi
|
||||
Reference in New Issue
Block a user