Skip to content

Commit

Permalink
Update intro for invocation images
Browse files Browse the repository at this point in the history
Signed-off-by: sbshah97 <[email protected]>
  • Loading branch information
sbshah97 committed Jan 5, 2024
1 parent 1f9c848 commit 2afc0c3
Showing 1 changed file with 1 addition and 2 deletions.
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 2afc0c3

Please sign in to comment.