Is it possible to load extra php extensions? I managed to build for example the intl package but it's not added to the runtime.
I have tried adding to the build settings (commands): apk add icu-dev && docker-php-ext-install intl apk add icu-dev && docker-php-ext-install intl
And the same thing to pre-package-install in the compose file. The default image is too barebones to be actually usefull (as a runtime compared to node etc.).
This pull request seems to indicate this should be possible: https://github.com/open-runtimes/open-runtimes/pull/127
Thanks!
The above does work, but obviously, the build step does not retain container changes after cleanup etc. Should have thought of that. Is there an other way this can be achieved? Custom images could be a way, but that doens't seem to be supported
I believe this should be going in the commands parameter in your appwrite.json
Thanks, this is what I meant with build settings, edited to clarified that! Unfortunatly, this only runs once on deploy (to create your code package outside of the container). If the container is called or recreated during it's lifetime, these changes are gone.
Oh, I remember some talk at some point about this. Unfortunately, I don't really know enough about how it works to have any other useful answer here, sorry
Thanks, I'll have a look on the youtube channel if I can spot it
I guess this is not possible in the current setup. Are there any plans on adding own images or adding critical modules like Intl?
Recommended threads
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...
- Broken Typeform Link for Appwrite Heroes...
I was trying to apply for the Appwrite Heroes program because I am planning to host a meetup for my local developer community on backend architecture using Appw...