mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
How to build new image from already built images? #330
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ranjanp75 on GitHub (Feb 27, 2022).
Hi @sickcodes, I have a use case for CI/CD where I want to install few packages along with the bare mac OS docker image for monterey.
I followed the steps below to build the custom image file and then start it as part of naked container to get it up and running.
Considering that new packages may be required to be added to the existing image, how do we go about doing that?
Is the only way to store the original docker image and keep building on top of it ? I have observed that for every brew install package,
the docker image size increases significantly from 40GB to 80GB which is very difficult to maintain.
Could you please help me with this ? Thanks