From 1e5c7ccc5c7a4c028385589c09d4044fcf47a138 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Thu, 4 Apr 2024 22:59:20 -0400 Subject: [PATCH] fix node 18 containerfile, fix typos --- language-containers/nodejs/Containerfile | 2 +- language-containers/nodejs/Containerfile.node18 | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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