Skip to content
프로젝트

소개

iOS 앱을 Docker 컨테이너처럼 빌드하고 배포해 실행합니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Docker for iOS Development

Build and ship iOS apps with standard docker client. Just drop a Dockerfile into an XCode project and build+distribute using docker containers.

Getting Started

Requirements

  • OSX (tested with 10.10.3)
  • XCode (tested with 6.3.2)
  • Node.js (tested with 0.10.32)
  • ios-sim (npm install -g ios-sim)

Then drop a Dockerfile into your iOS app directory:

Example Dockerfile

FROM Xcode:7.0
WORKDIR /
COPY . /
RUN xcodebuild
HYDRATE /build/Debug-iphonesimulator/SampleApp.app

The HYDRATE command instructs the docker builder to transform raw bits into a new docker image as an artifact. The architecture is assumed to be iphonesimulator plaform right now. Hence, docker build will output two images:

REPOSITORY          TAG                 IMAGE ID            CREATED                  VIRTUAL SIZE
test-build          latest              9240d3d01481        Less than a second ago   8.884 MB
test                latest              dd5a93fcf2ad        Less than a second ago   8.215 MB

test-build contains the full build directory from the OSX platform. test contains just the ios container (app). you can then docker run the test image to invoke th simulator

Usage

Start up the Daemon

npm install
npm start
export DOCKER_HOST=tcp://localhost:3000

build & run your apps from CLI:

docker build -t=test .
docker run test

Development

Running Tests

npm install 
npm test

Running Sample Project

cd sample
docker build -t=sample-ios-app .
<buid output....>
docker images
<image list>
docker run <image_name>

Roadmap

  • Complete the REST API
  • Registery/store implementations
  • docker-compose and docker-machine support
  • Android development

관련 프로젝트 살펴보기

불러오는 중…