mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
[Question] How to install Xcode on this docker? #69
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 @amadeu01 on GitHub (Sep 16, 2020).
This might be a stupid question, but I don't have much experience with docker. And, I would like to run some scripts which are basically to build an app inside the docker. I don't know if that would be possible. But, since the docker can run an osx, it might be possible to run Xcode and so run tests or build apps.
How could I install the xcode inside the container?
I was thinking about using
Ansibleto configure the container like here@sickcodes commented on GitHub (Sep 19, 2020):
Yes you can
docker committhe image when it's ready to ship.It would be the same as duplicating your hard drive.
@sickcodes commented on GitHub (Sep 20, 2020):
Sorry for not answering your question 🤣
Yes it's possible, you can build your container. Once it's nice and ready, use
docker commitor put the .img somewhere, I have updated the readme@sickcodes commented on GitHub (Sep 21, 2020):
Feel free to close this when you have it working
@amadeu01 commented on GitHub (Sep 21, 2020):
@sickcodes thanks! I'll give a try!
Just one more question to be clear if I understood. I could configure the mac image with all programs I like and then I make a copy of that image with
docke commit? Therefore, if I had installed Xcode on the initial image, after thedocker commitI'll have a new image with the xcode ready to be used ?@sickcodes commented on GitHub (Oct 5, 2020):
FYI you need to install Xcode from the App Store, which requires you to sign in with an Apple ID.
You can create one in OSX
@yaroslavnikiforov commented on GitHub (Nov 13, 2020):
Hi @sickcodes is it possible to create an image with Xcode installed, commit it to the Docker hub, and then use it for the bitbucket pipelines for creating iOS builds? Thanks
@sickcodes commented on GitHub (Nov 13, 2020):
It certainly is. Be careful with your keys. You can also use fastlane I believe.
Or this https://github.com/zhlynn/zsign
@yaroslavnikiforov commented on GitHub (Nov 13, 2020):
Great thanks!
@sickcodes commented on GitHub (Mar 7, 2021):
FYI Working on this currently
@rafaldziuryk commented on GitHub (Dec 23, 2021):
@yaroslavnikiforov Did you find a way to run this docker image with bitbucket pipeline? Could you share some tips if so?
@sickcodes commented on GitHub (Jan 5, 2022):
You need to create your own image first and then you can automate usage with the naked image or naked-auto