Skip to content

Commit 8dd5194

Browse files
dhi: add customization working directory (#23973)
<!--Delete sections as needed --> ## Description Added new working directory override option to image customization. ## Related issues or tickets https://docker.slack.com/archives/C04M34MRQS1/p1768231979495499 ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Editorial review Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
1 parent bd45e88 commit 8dd5194

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

content/manuals/dhi/how-to/customize.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ To customize a Docker Hardened Image, follow these steps:
110110
image. These arguments are appended to the base image's entrypoint.
111111
1. Add [`CMD`](/reference/dockerfile/#cmd) arguments to the image. These
112112
arguments are appended to the base image's command.
113+
1. Override the default (`/`) [working
114+
directory](/reference/dockerfile/#workdir) for the image.
113115
1. Specify a suffix for the customization name that is appended to the
114116
customized image's tag. For example, if you specify `custom` when
115117
customizing the `dhi-python:3.13` image, the customized image will be

0 commit comments

Comments
 (0)