Update readme to deprecate ONBUILD variable

It looks like the ONBUILD variant was deprecated in https://github.com/docker-library/official-images/issues/2076
This change adds one line to the README.md file.
This commit is contained in:
Steven 2017-07-19 11:33:16 -04:00 committed by GitHub
parent ec6da31525
commit 24f9ad5ca8
1 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,8 @@ examples of how to install packages if you are unfamiliar).
## `node:onbuild`
The `ONBUILD` image variants are deprecated, and their usage is discouraged. For more details, see [docker-library/official-images#2076](https://github.com/docker-library/official-images/issues/2076).
This image makes building derivative images easier. For most use cases, creating
a `Dockerfile` in the base of your project directory with the line `FROM
node:onbuild` will be enough to create a stand-alone image for your project.