|
1 |
| -# Code Engine Source-to-Image Dockerfile support |
| 1 | +# Source-to-Image with a Dockerfile |
2 | 2 |
|
3 |
| -This sample shows how to use the Code Engine source-to-image Dockerfile feature |
4 |
| -to build your application from a git repo, push the image into a registry, |
5 |
| -and then deploy it as a Code Engine application. This will assume that there's |
6 |
| -a Dockerfile in the root of the git repo that will be used to build the image. |
| 3 | +This sample shows how to use the Code Engine source-to-image feature using |
| 4 | +a Dockerfile to build your application from a git repo, push the image into a |
| 5 | +registry, and then deploy it as a Code Engine application. This will assume |
| 6 | +that there's a Dockerfile in the root of the build context that will be used |
| 7 | +to build the image. |
7 | 8 |
|
8 |
| -More details can be found in [Code Engine Docs](https://cloud.ibm.com/docs/codeengine?topic=codeengine-plan-build). |
| 9 | +More details can be found in [Code Engine |
| 10 | +Docs](https://cloud.ibm.com/docs/codeengine?topic=codeengine-plan-build). |
9 | 11 |
|
10 | 12 | The exact steps taken in [`run`](./run) are:
|
11 |
| -- Login and create an ICR (IBM Container Registry) namespace to store the resulting |
12 |
| - image |
13 |
| -- Create an IBM API Key that will be used by the build process to push |
14 |
| - the image to ICR |
15 |
| -- Define a build that points to a git repo for the source, and the |
16 |
| - defines where in ICR to store the image |
| 13 | +- Create an ICR (IBM Container Registry) namespace to store the resulting image |
| 14 | +- Create an IBM API Key that will be used by the build process to push the |
| 15 | + image to ICR |
| 16 | +- Define a build that points to a git repo for the source, and then define |
| 17 | + where in ICR to store the image |
17 | 18 | - Creates a Code Engine app from that image
|
0 commit comments