@@ -8,15 +8,14 @@ This is useful for integrating Deis into Docker-based CI/CD pipelines.
88
99Start by cloning an example application:
1010
11- $ git clone https://github.com/deis/example-go.git
12- $ cd example-go
13- $ git checkout docker
11+ $ git clone https://github.com/deis/example-dockerfile-http.git
12+ $ cd example-dockerfile-http
1413
1514Next use your local ` docker ` client to build the image and push
1615it to [ DockerHub] [ ] .
1716
18- $ docker build -t <username>/example-go .
19- $ docker push <username>/example-go
17+ $ docker build -t <username>/example-dockerfile-http .
18+ $ docker push <username>/example-dockerfile-http
2019
2120
2221### Docker Image Requirements
@@ -33,9 +32,9 @@ In order to deploy Docker images, they must conform to the following requirement
3332
3433Use ` deis create ` to create an application on the [ controller] [ ] .
3534
36- $ mkdir -p /tmp/example-go && cd /tmp/example-go
37- $ deis create example-go --no-remote
38- Creating application... done, created example-go
35+ $ mkdir -p /tmp/example-dockerfile-http && cd /tmp/example-dockerfile-http
36+ $ deis create example-dockerfile-http --no-remote
37+ Creating application... done, created example-dockerfile-http
3938
4039!!! note
4140 For all commands except for ` deis create ` , the ` deis ` client uses the name of the current directory
@@ -47,10 +46,10 @@ Use `deis create` to create an application on the [controller][].
4746Use ` deis pull ` to deploy your application from [ DockerHub] [ ] or
4847a public registry.
4948
50- $ deis pull gabrtv /example-go :latest
49+ $ deis pull <username> /example-dockerfile-http :latest
5150 Creating build... done, v2
5251
53- $ curl -s http://example-go .local3.deisapp.com
52+ $ curl -s http://example-dockerfile-http .local3.deisapp.com
5453 Powered by Deis
5554
5655Because you are deploying a Docker image, the ` cmd ` process type is automatically scaled to 1 on first deploy.
0 commit comments