diff --git a/docs/how-to/use-chisel-in-dockerfile.md b/docs/how-to/use-chisel-in-dockerfile.md index f8f3da0..ec63a86 100644 --- a/docs/how-to/use-chisel-in-dockerfile.md +++ b/docs/how-to/use-chisel-in-dockerfile.md @@ -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