Skip to content

Commit 4ef5baa

Browse files
authored
Merge pull request #23660 from JackPGreen/patch-2
Fix `onbuild` formatting in `best-practices.md`
1 parent a67aed7 commit 4ef5baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/manuals/build/building/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ Dockerfile, as you can see in [Ruby’s `ONBUILD` variants](https://github.com/d
802802
Images built with `ONBUILD` should get a separate tag. For example,
803803
`ruby:1.9-onbuild` or `ruby:2.0-onbuild`.
804804

805-
Be careful when putting `ADD` or `COPY` in `ONBUILD`. The `onbuild image
805+
Be careful when putting `ADD` or `COPY` in `ONBUILD`. The image
806806
fails catastrophically if the new build's context is missing the resource being
807807
added. Adding a separate tag, as recommended above, helps mitigate this by
808808
allowing the Dockerfile author to make a choice.

0 commit comments

Comments
 (0)