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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- after using the coding agents its code b...
can anybody suggest me an ai tool that i can use to create the system desgins without the suggestion things because it at last create a mess
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...