Conversation
|
So it's "build on release" vs "build on runtime"? Also paging @wyrzyk as the primary author of this module 😉 |
There's next to no difference - you either download the image or build it locally, so it's very similar in terms of performance. |
|
It was optimised to build the image once and then benefit from a faster and more stable dev loop. Maybe it's possible to support both approaches? 🤔 |
|
But locally you download it once. |
And you build it only once too, all subsequent runs come from cache. |
|
I get the build once part, caching is a feature of building itself. |
There's no upload. We don't really need to upload it. |
|
Ok, so without upload, it will not download at all correct? I'm confused because:
and
|
I was talking about the data needed to build the image. |
|
Ok, so it's clear. So "after" could be slower than "before", that's why I asked for the difference.
Was it assumed or tested? |
What do you think about this approach? We won't be dependent on upstream image updates, we will use official images and we get support for multiple ubuntu releases for free.
If you think it's a good idea, I'll rip out the support for docker image building, it's no longer needed.