Skip to content

Commit d28c759

Browse files
committed
Merge pull request #87 from Starefossen/docs/onbuild-npm-shrinkwrap
Document why onbuild does not install according to shrinkwrap
2 parents c8170c3 + ececf6c commit d28c759

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ yourself and others looking at your `Dockerfile` as to what it does. This also
9292
makes it easier to add additional requirements as time goes on (such as
9393
installing more packages before performing the previously-`ONBUILD` steps).
9494

95+
This `onbuild` variant will only install npm packages according to the
96+
`package.json` and *does not* adhere to the `npm-shrinkwrap.json` (see full
97+
discussion in
98+
[`nodejs/docker-node#65`](https://github.com/nodejs/docker-node/issues/65).
99+
95100
## `node:slim`
96101

97102
This image does not contain the common packages contained in the default tag and

0 commit comments

Comments
 (0)