I really appreciate this section which explains all the variants https://github.com/nodejs/docker-node#image-variants but there's nothing which explains the -stretch variant.
What is this magically -stretch variant? How does it differ from other variants?
I have an app that is using node:9-stretch and I want to update it to be on a lts version such as 10 but since i have no idea what this stretch variant is, i'm not sure if i need it or can use -alpine or -slim.
It is a Debian release https://wiki.debian.org/DebianStretch
@toymachiner62 you can try upgrading to slim which is shorthand for -stretch-slim. I perdonally prefer the size and minimalism of Alpine but extra consideration must be taken so it might not be as easy an upgrade.
Good to know. Thanks.
The docs on the Docker Hub have slightly more info:
Some of these tags may have names like jessie or stretch in them. These are the suite code names for releases of Debian and indicate which release the image is based on.
Possibly the node team want to incorporate some of the improvements we made to the docs back to https://github.com/nodejs/docker-node#image-variants? The change was https://github.com/docker-library/docs/pull/1332, but you'll probably just want the results.
The docs on the Docker Hub have slightly more info:
@yosifkit These docs have great summaries of some variants, but don't mention anything about the -stretch variant and I had no idea it was a debian version.
Closing since it was answered. Feel free to reopen