Programmatically install programs like xCode with Dockerfile? #245

Open
opened 2025-12-29 00:21:35 +01:00 by adam · 0 comments
Owner

Originally created by @GrabbenD on GitHub (Sep 15, 2021).

At the moment it's possible to manually setup a container and install programs which you can then distribute with docker commit. However, with this approach you end up with a large image and updating it takes rather long time since it has to be done manually.

Is there any way of programmatically building MacOS and then installing packages onto it like xCode and brew through for example a Dockerfile? This way you'd be able to erase everything and easily spin up a new container with the right configuration and programs without the need of manually installing everything.

Originally created by @GrabbenD on GitHub (Sep 15, 2021). At the moment it's possible to manually setup a container and install programs which you can then distribute with `docker commit`. However, with this approach you end up with a large image and updating it takes rather long time since it has to be done manually. Is there any way of programmatically building MacOS and then installing packages onto it like xCode and brew through for example a Dockerfile? This way you'd be able to erase everything and easily spin up a new container with the right configuration and programs without the need of manually installing everything.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#245