Skip to content

Commit f57bf3f

Browse files
author
Matthew Fisher
committed
docs(using_deis): add docs for deis build
1 parent c415b27 commit f57bf3f

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

client/deis.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,9 +784,18 @@ def builds(self, args):
784784

785785
def builds_create(self, args):
786786
"""
787-
Create a new build of an application
787+
Creates a new build of an application.
788788
789789
Usage: deis builds:create <image> [--app=<app>]
790+
791+
Arguments:
792+
<image>
793+
A fully-qualified docker image, either from DockerHub (e.g. deis/example-go)
794+
or from an in-house registry (e.g. myregistry.example.com:5000/example-go).
795+
796+
Options:
797+
--app=<app>
798+
The uniquely identifiable name for the application.
790799
"""
791800
app = args.get('--app')
792801
if not app:

docs/using_deis/deploy-application.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Select a Build Process
3030
----------------------
3131
Deis supports three different ways of building applications:
3232

33-
1. `Heroku Buildpacks`_
34-
2. `Dockerfiles`_
35-
3. `Docker Image`_ (coming soon)
33+
1. `Heroku Buildpack`_
34+
2. `Dockerfile`_
35+
3. `Docker Image`_
3636

3737
Buildpacks
3838
^^^^^^^^^^
@@ -46,6 +46,14 @@ Dockerfiles are a powerful way to define a portable execution environment built
4646

4747
Learn how to use deploy applications on Deis :ref:`using-dockerfiles`.
4848

49+
Docker Image
50+
^^^^^^^^^^^^
51+
Deploying a Docker image onto Deis allows you to take a Docker image from either a public
52+
or a private registry and copy it over bit-for-bit, ensuring that you are running the same
53+
image in development or in your CI pipeline as you are in production.
54+
55+
Learn how to deploy applications on Deis using :ref:`deis_builds`.
56+
4957

5058
.. _`twelve-factor methodology`: http://12factor.net/
5159
.. _`Heroku Buildpacks`: https://devcenter.heroku.com/articles/buildpacks

0 commit comments

Comments
 (0)