diff --git a/language-containers/nodejs/Containerfile b/language-containers/nodejs/Containerfile index bb4c692..7ff56a6 100644 --- a/language-containers/nodejs/Containerfile +++ b/language-containers/nodejs/Containerfile @@ -16,6 +16,6 @@ LABEL com.github.containers.toolbox="true" \ maintainer="Wyatt J. Miller " \ vendor="Miller Web Solutions" -# Install base development packages +# Install node 20 and related npm RUN dnf install nodejs npm -y -q RUN npm install typescript -g diff --git a/language-containers/nodejs/Containerfile.node18 b/language-containers/nodejs/Containerfile.node18 index 29bb84a..91259e7 100644 --- a/language-containers/nodejs/Containerfile.node18 +++ b/language-containers/nodejs/Containerfile.node18 @@ -16,6 +16,8 @@ LABEL com.github.containers.toolbox="true" \ maintainer="Wyatt J. Miller " \ vendor="Miller Web Solutions" -# Install base development packages -RUN dnf install nodejs18 npm -y -q +# Install node 18 and related npm +RUN dnf install nodejs18 nodejs18-npm -y -q +RUN ln -s /usr/bin/node-18 /usr/bin/node +RUN ln -s /usr/bin/npm-18 /usr/bin/npm RUN npm install typescript -g