Skip to content

Commit

Permalink
Update intro for invocation images (#2957)
Browse files Browse the repository at this point in the history
* Update intro for invocation images

Signed-off-by: sbshah97 <[email protected]>

* Added Salman Shah as a contributor

Signed-off-by: sbshah97 <[email protected]>

---------

Signed-off-by: sbshah97 <[email protected]>
Signed-off-by: Salman Shah <[email protected]>
  • Loading branch information
sbshah97 authored Jan 6, 2024
1 parent 8b74d90 commit 037bd76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ and we will add you. **All** contributors belong here. 💯
- [Chaiyapruek Muangsiri](https://github.com/cmppoon)
- [Xin Fu](https://github.com/imfing)
- [KallyDev](https://github.com/kallydev)
- [Ray Terrill](https://github.com/rayterrill)
- [Salman Shah](https://github.com/sbshah97)
- [Ray Terrill](https://github.com/rayterrill)
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ WORKDIR ${BUNDLE_DIR}
CMD ["/cnab/app/run"]
```

Porter starts the [Dockerfile](/bundle/custom-dockerfile) by using a base image. You can customize the base image by specifying a Dockerfile template in the porter.yaml. By default, Porter only targets a single os/architecture(linux/amd64) for invocation image. If you want to use other platform, feel free to change the platform flag in the generated Dockerfile template. Next, a set of CA certificates is added. Next, contents of the current directory are copied into the bundle directory (/cnab/app) in the invocation image. This will include any contributions from the mixin executables. Finally, an entry point that conforms to the CNAB specification is added to the image.

Porter starts the [Dockerfile](/bundle/custom-dockerfile) by using a base image. You can customize the base image by specifying a Dockerfile template in the porter.yaml. By default, Porter only targets a single os/architecture(linux/amd64) for the bundle installer. If you want to use other platform, feel free to change the platform flag in the generated Dockerfile template. Next, a set of CA certificates is added. Then, contents of the current directory are copied into the bundle directory (/cnab/app) in the bundle installer. This will include any contributions from the mixin executables. Finally, an entry point that conforms to the CNAB specification is added to the image.
Once this is completed, the image is built:

```console
Expand Down

0 comments on commit 037bd76

Please sign in to comment.