I have the following dockerfile:
FROM docker-hub-remote.dr.corp.adobe.com/antora/antora:3.0.1
RUN yarn global add asciidoctor-kroki
RUN yarn global add antora-site-generator-lunr
The error occurs at the RUN yarn global add antora-site-generator-lunr because of the
4.058 error [email protected]: The engine “node” is incompatible with this module. Expected version “>=18.17”. Got “16.20.2”
How can I update this dockerfile to use a version of cheerio < 1.0.0 without changing the node version and still using the yarn global add
?
2