-
Feature
-
Resolution: Done
-
Critical
-
3.9.0.GA
-
False
-
-
False
-
Compatibility/Configuration
-
-
Description of problem:
There has been a customer request to upgrade to Node 18 in the downstream UDI: https://issues.redhat.com/browse/CRW-4532
There is an official UBI8/NodeJS-18 image which we could base our Node 18 installation off of: https://catalog.redhat.com/software/containers/ubi8/nodejs-18/6278e5c078709f5277f26998
Workaround:
The downstream UDI can be extended via another Dockerfile to install Node 18 on it:
FROM registry.redhat.io/devspaces/udi-rhel8:3.7-18.1692027007
ENV NODEJS_VERSION="18"
RUN dnf -y -q module reset nodejs && \
dnf -y -q module install nodejs:$NODEJS_VERSION && \
dnf -y -q install --setopt=tsflags=nodocs \
nodejs