Skip to content

Commit dc742df

Browse files
committed
docs
1 parent 572c7e3 commit dc742df

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

README.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
# dockerthon
2-
Build and ship iOS and Mac native apps with the docker client
1+
# Docker for Mobile Dev (DoMo?)
2+
Build and ship iOS apps with the docker client. Just drop a Dockerfile into an XCode project and build+distribute using docker containers.
3+
4+
## Example Dockerfile
5+
```
6+
FROM Xcode:6.3.2
7+
WORKDIR /
8+
COPY . /
9+
RUN xcodebuild
10+
HYDRATE /build/Release-iphoneos/SampleApp.app
11+
```
12+
The HYDRATE command instructs the docker build process to transform raw bits
13+
into a docker image for future runs. The architecture is assumed to be arm[64] iOS plaform right now, but this could be detected and/or set in the future.
314

415
# Getting Started
516

@@ -20,13 +31,18 @@ npm test
2031
```
2132
npm install
2233
npm start
34+
export DOCKER_HOST=tcp://localhost:3000
2335
```
2436

2537
## Running Sample Project
2638
```
2739
cd sample
28-
DOCKER_HOST=tcp://localhost:3000 docker build -t=sample-ios-app .
29-
<buid output....
30-
DOCKER_HOST=tcp://localhost:3000 docker images
31-
<lists build artifact + ios app container>
40+
docker build -t=sample-ios-app .
41+
<buid output....>
42+
docker images
43+
<image list>
3244
```
45+
46+
# Roadmap
47+
48+
* Android Development

sample/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
FROM scratch
1+
FROM Xcode:6.3.2
2+
WORKDIR /
3+
COPY . /
4+
RUN xcodebuild
5+
HYDRATE /build/Release-iphoneos/SampleApp.app

0 commit comments

Comments
 (0)