Skip to content

Commit

Permalink
docs: call out ONBUILD COPY --from as unsupported
Browse files Browse the repository at this point in the history
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
  • Loading branch information
dvdksn committed Mar 27, 2024
1 parent 7a53b4b commit c0b3994
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/dockerfile/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,10 @@ By default, the `COPY` instruction copies files from the build context. The
COPY [--from=<stage|image>] <src> ... <dest>
```

> **Note**
>
> `ONBUILD COPY --from` is not supported.
To copy from a build stage in a
[multi-stage build](https://docs.docker.com/build/building/multi-stage/),
specify the name of the stage you want to copy from. You specify stage names
Expand Down

0 comments on commit c0b3994

Please sign in to comment.