invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
419 stars 268 forks source link

Adds options to use config bases php.ini #519

Closed turbo124 closed 1 year ago

turbo124 commented 1 year ago

Allows users to easily configure php from config file.

lwj5 commented 1 year ago

alpine/5/cache_buster

Maybe you can try putting a new datetime into the file to invalid the cache and get the latest php stuff

turbo124 commented 1 year ago

@lwj5

builds are falling over due to mysql on arm issues i think

lwj5 commented 1 year ago

Error is on AMD64

The error is when composer install is completed it runs artisan package:discover as part of the composer post autoload. Not sure why artisan discover tries to connect to DB. There's no DB in the container, and it shouldn't be connecting to a DB at that stage

42.05 Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

turbo124 commented 1 year ago

@lwj5

I'm baffled by this error, the only workaround I can currently engineer is to disable the scripts for composer, and then perform the package discovery in the init.

There have been no significant changes to the composer.json file, and also using composer update in the build still generates the same issue. Any other thoughts?