From 615894ad18aba2356e119bf8a9cf7bf734e52637 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 11 Mar 2024 16:08:14 -0400 Subject: [PATCH] fixed nodejs containers --- language-containers/nodejs/Containerfile | 6 +++--- language-containers/nodejs/Containerfile.node18 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/language-containers/nodejs/Containerfile b/language-containers/nodejs/Containerfile index bb4c692..6639768 100644 --- a/language-containers/nodejs/Containerfile +++ b/language-containers/nodejs/Containerfile @@ -1,4 +1,4 @@ -# Base Node.js container image +# Base Node.js 20 LTS container image # Written by Wyatt J. Miller, 2023, 2024 # This image is opinionated, but you're welcome to customize as much as you like @@ -6,13 +6,13 @@ FROM scm.wyattjmiller.com/wymiller/base_container:latest # Label it right, ya know? -ENV NAME=custom_base_node20_image VERSION=1.1 +ENV NAME=custom_base_node_image VERSION=1.1 LABEL com.github.containers.toolbox="true" \ com.redhat.component="$NAME" \ name="$NAME" \ version="$VERSION" \ usage="Wyatt's base Node.js image" \ - summary="Wyatt's custom base Node 20 image" \ + summary="Wyatt's custom base Node image" \ maintainer="Wyatt J. Miller " \ vendor="Miller Web Solutions" diff --git a/language-containers/nodejs/Containerfile.node18 b/language-containers/nodejs/Containerfile.node18 index 29bb84a..428336a 100644 --- a/language-containers/nodejs/Containerfile.node18 +++ b/language-containers/nodejs/Containerfile.node18 @@ -1,4 +1,4 @@ -# Base Node.js container image +# Base Node.js 18 container image # Written by Wyatt J. Miller, 2023, 2024 # This image is opinionated, but you're welcome to customize as much as you like @@ -17,5 +17,5 @@ LABEL com.github.containers.toolbox="true" \ vendor="Miller Web Solutions" # Install base development packages -RUN dnf install nodejs18 npm -y -q -RUN npm install typescript -g +RUN dnf install nodejs18 nodejs18-npm -y -q +RUN npm-18 install typescript -g