buildpacks - rebase image to update based image to a new version

 

Directly replacing an image layer can be a bad idea especially when we're swapping out say the OS layer. As the OS remain untested with your application runtime that can be more of an issue than a feature. 

With a dockerfile that builds your application, you'll typically goes through the entire cycle of build your application and ensuring there's no compile time error.

To update your based image layer you can run the following command. It seems to be replacing your OS/other dependencies layer (replacing a layer) but don't forget that there's additional testing work being carried out to ensure the based image (or builder) is working well before this can happpend.

pack rebase my-app:my-tag






Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm