proposal: Multiple docker images per Node.js version
See original GitHub issueThanks for the great tool! I am grateful for the wide range of development, not only tools but also ecosystems such as plugins and ready-to-run docker images!
By the way, the current docker image only works with Node.js version 12. Adding support for other versions would be more useful. Since HonKit recommends using the Node.js LTS version, the Docker Image should also match it.
But it’s also important to provide compatibility for older users, including those from GitBook. Therefore, by providing a combination of multiple OSs and versions as a tag, it is possible to provide a new environment while maintaining compatibility.
NOTE: Example of tagging in node
images
Tag name | Description |
---|---|
18-bullseye | Specify both version and OS |
18 | Specify only the version (OS bullseye is selected as the recommended environment) |
bullseye | Specify OS only (version 18, which is the latest version, is selected) |
If we provide multiple Docker Images with similar rules, for example, the following tags will be prepared.
Tag name | Description |
---|---|
vX.Y.Z-nodeN | Specify both Honkit and Node.js versions |
nodeN | Only Node.js version is specified and HonKit is the latest |
vX.Y.Z | Specify only HonKit version and Node.js gets our recommended version |
latest | Get the latest HonKit with our recommended Node.js version |
Consideration
We need to consider what to choose as the recommended Node.js version.
If we choose 12
, the Docker Image provided by the latest
tag remains unchanged. This should be selected if compatibility is important.
However, this version is no longer recommended by HonKit. If we were to choose the latest LTS version of Node.js, it should be 16
by now.
Motivation
Even if we provide additional Docker Images, it doesn’t change much to use as is, but some users will get the following benefits.
- Base image for using calibre that HonKit officially supports.
- Especially installing old versions of caliber is a pain.
- Plug-in users use honkit/honkit as a base image, and add their favorite fonts and plug-ins to it.
- Above all, the performance improvement in
16
is wonderful.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
I’ve (very rough) added docker usage to README. https://github.com/honkit/honkit#docker-support
@KentarouTakeda Release 🎉 https://github.com/honkit/honkit/releases/tag/v4.0.0 https://hub.docker.com/r/honkit/honkit
Thanks a lot!