How to update the repositories configured in repos.yaml and addons.yaml using production and test modes? #453
-
In development mode it is easy: we use invoke git-aggregate, but in production and test modes I still can't figure out what the appropriate procedure is. Apparently in this case all the modules remain inside when the image is built. But I don't want to build it again, I just want to update the modules. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
You have to build. There's no other option. |
Beta Was this translation helpful? Give feedback.
-
I have tried this and it works, but I still think it is not practical when every so often you want to add a new repository to production mode or you simply want to update existing modules. Reconstructing the image in my case takes a long time. |
Beta Was this translation helpful? Give feedback.
You need to make
docker compose build --no-cache
for forcing to redownload the repositories. An extra--pull
will also download images for the rest of the components (mail, database, etc).