Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions docs/how-to/use-chisel-in-dockerfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@ chiseled Docker image.

Let's set some goals for our chiseled image. Consider a Python 3 image, which
contains a Python 3 interpreter and is able to run Python 3 scripts and
commands.
commands. The image must:

- The [image entrypoint] must be `python3`.
- The image must be able to run Python 3 scripts.
- The image must be minimal.
- have `python3` as the [image entrypoint]
- be able to run Python 3 scripts
- be minimal

To build this image, we will use [multi-stage docker builds].

In earlier stage(s), we will

1. install Chisel and other dependencies that we may need, and
2. install the slices, using Chisel, into a staging area.
In earlier stage(s), we will install Chisel and other dependencies that we may
need, then use Chisel to install the slices into a staging area.

Finally, we will copy the staging area's root file system to the `/` directory
in the final stage. The final stage's base image will be [`scratch`]. Thus, the
Expand Down