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 Ansible to configure the container like here
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 `Ansible` to configure the container like [here](https://fuzzyblog.io/blog/mac/2017/07/31/configuring-your-mac-with-ansible-take-2.html)
Yes you can docker commit the image when it's ready to ship.
It would be the same as duplicating your hard drive.
@sickcodes commented on GitHub (Sep 19, 2020):
Yes you can `docker commit` the image when it's ready to ship.
It would be the same as duplicating your hard drive.
Yes it's possible, you can build your container. Once it's nice and ready, use docker commit or put the .img somewhere, I have updated the readme
@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 commit` or put the .img somewhere, I have updated the readme
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 the docker commit I'll have a new image with the xcode ready to be used ?
@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 the `docker commit` I'll have a new image with the xcode ready to be used ?
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
@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
@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
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
FYI Working on this currently
@sickcodes commented on GitHub (Mar 7, 2021):
> 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
FYI Working on this currently
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
@yaroslavnikiforov Did you find a way to run this docker image with bitbucket pipeline? Could you share some tips if so?
@rafaldziuryk commented on GitHub (Dec 23, 2021):
> 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
@yaroslavnikiforov Did you find a way to run this docker image with bitbucket pipeline? Could you share some tips if so?
You need to create your own image first and then you can automate usage with the naked image or naked-auto
@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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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