Skip to content

Commit

Permalink
docs: Add base_image parameter example.
Browse files Browse the repository at this point in the history
Some users don't know how to set base_image.
Add an example of how to set it.
  • Loading branch information
hiroyuki-sato committed Oct 24, 2023
1 parent 57d229e commit 570c117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/howto/base_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You may change the base image used in the `Dockerfile` that creates images by repo2docker.
This is equivalent to changing the `FROM <base_image>` in the Dockerfile.

To do so, use the `base_image` traitlet when invoking `repo2docker`.
To do so, use the `base_image` traitlet when invoking `repo2docker` (ex: `repo2docker --Repo2Docker.base_image=image_name`).
Note that this is not configurable by individual repositories, it is configured when you invoke the `repo2docker` command.

```{note}
Expand Down

0 comments on commit 570c117

Please sign in to comment.