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
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...