4 ms·
Not quite the same but ironically the standard "node" Docker image contains yarn: https://github.com/nodejs/docker-node/blob/b502aa016335c81a586b430328d8fee4897
by scarlac 9y ago
Not quite the same but ironically the standard "node" Docker image contains yarn: https://github.com/nodejs/docker-node/blob/b502aa016335c81a586b430328d8fee4897ee440/8.4/Dockerfile https://github.com/nodejs/docker-node/blob/b502aa016335c81a5...
- onestone 9y agoI was the one who added Yarn to the official docker-node image[1][2]. This was the most popular docker-node feature request at the time. We managed to achieve it with a minimal size increase (with the help of the awesome Yarn team) and without affecting anything else. There was already a history of us providing some bonus features which the upstream Node project doesn't, such as a musl-libc build (for Alpine Linux). [1] https://github.com/nodejs/docker-node/pull/337 https://github.com/nodejs/docker-node/pull/337 [2] https://github.com/nodejs/docker-node/pull/403 https://github.com/nodejs/docker-node/pull/403