Add ONBUILD field to acceptable metadata list

Signed-off-by: Sönmez Kartal <szkl89@gmail.com>
This commit is contained in:
Sönmez Kartal 2017-05-10 01:47:04 +03:00
parent 56ec046fe5
commit b189252f98
No known key found for this signature in database
GPG Key ID: 908D2AAF7ED66753
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,7 @@ Example uses of all of the options, assuming one is building an NGINX image from
"VOLUME /test1 /test2",
"EXPOSE 80 443",
"LABEL version=1.0",
"ONBUILD RUN date",
"CMD [\"nginx\", \"-g\", \"daemon off;\"]",
"MAINTAINER Captain Kirk",
"ENTRYPOINT /var/www/start.sh"
@ -100,6 +101,9 @@ Allowed metadata fields that can be changed are:
- LABEL
- String, space separated key=value pairs
- EX: `"LABEL version=1.0"`
- ONBUILD
- String
- EX: `"ONBUILD RUN date"`
- MAINTAINER
- String, deprecated in Docker version 1.13.0
- EX: `"MAINTAINER NAME"`