我可以在Docker容器中运行Xcode吗? [英] Can I run Xcode in a docker container?

查看:393
本文介绍了我可以在Docker容器中运行Xcode吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Docker容器中运行Xcode吗?我想对Xcode CI系统进行泊坞化,只是想知道这是否可能。

Can I run Xcode in a docker container? I'd like to dockerise an Xcode CI system, just wondering if this is possible.

推荐答案

现在答案很可能是已经过时,与2015年的版本不同。

This answer is now likely to be out of date as it was written in 2015. It may still be useful as reference to reproduce the same

-

来自 Docker Hackathon 2015 描述了如何使用Docker客户端构建并运行iOS应用

观看视频吗?

  • https://www.youtube.com/watch?v=CGHOH9Ocl1k

秘密调味料位于 server.js 实现了REST API以模拟docker服务器。因此,实际上,它实际上并没有在真正的Linux docker服务器上运行iOS,而是实现了docker API,然后充当ios-sim(运行)和XCode(构建)的代理。

Secret sauce is in server.js that implements a REST API to simulate a docker server. So in fact it's not actually running iOS in a real Linux docker server - rather it implements the docker API and then acts as a proxy to ios-sim (run) and XCode (build).

这篇关于我可以在Docker容器中运行Xcode吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆