mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Use precompiled PHP extensions for docker container
This should hopefully reduce the build times for cross compiled images, as we dont have to build extensions from source there.
This commit is contained in:
parent
ba5ae35809
commit
66e566b99a
4 changed files with 127 additions and 13 deletions
|
@ -39,5 +39,10 @@ if [ -d /var/www/html/var/db ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# first arg is `-f` or `--some-option` (taken from https://github.com/docker-library/php/blob/master/8.2/bullseye/apache/docker-php-entrypoint)
|
||||
if [ "${1#-}" != "$1" ]; then
|
||||
set -- apache2-foreground "$@"
|
||||
fi
|
||||
|
||||
# Pass to the original entrypoint
|
||||
exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue