Add compatibility notes for docker multistage build (#12379)

* add compatibility notes for docker multistage build

add note that multistage docker builds are supported from version 17.05 and upwards.

(this is according to the release notes https://docs.docker.com/engine/release-notes/17.05/)

* Minor update

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
Jesper Rønn-Jensen 2021-03-05 15:56:50 +01:00 committed by GitHub
parent c16d0e9d74
commit 2ef942f78b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -196,3 +196,7 @@ FROM builder as build2
COPY source2.cpp source.cpp COPY source2.cpp source.cpp
RUN g++ -o /binary source.cpp RUN g++ -o /binary source.cpp
``` ```
## Version compatibility
Multistage build syntax was introduced in Docker Engine 17.05.