From 68d38d6cee6989d34c7b413004fe9917865cfd42 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 26 Jun 2023 22:08:09 -0400 Subject: [PATCH] added base node container file --- base_node_container/Containerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 base_node_container/Containerfile diff --git a/base_node_container/Containerfile b/base_node_container/Containerfile new file mode 100644 index 0000000..9b477ee --- /dev/null +++ b/base_node_container/Containerfile @@ -0,0 +1,21 @@ +# Base Node.js container image +# Written by Wyatt J. Miller, 2023 +# This image is opinionated, but you're welcome to customize as much as you like + +# Start with the Fedora 38 image +FROM scm.wyattjmiller.com/wymiller/base_container:latest + +# Label it right, ya know? +ENV NAME=custom_base_node_image VERSION=1.0 +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 image" \ + maintainer="Wyatt J. Miller " + +# Install base development packages +RUN dnf install nodejs npm -y -q +RUN dnf clean all +RUN npm install typescript -g