2023-06-26 21:08:09 -05:00
|
|
|
# Base Node.js container image
|
2024-03-09 22:07:32 -06:00
|
|
|
# Written by Wyatt J. Miller, 2023, 2024
|
2023-06-26 21:08:09 -05:00
|
|
|
# This image is opinionated, but you're welcome to customize as much as you like
|
|
|
|
|
2024-03-09 22:07:32 -06:00
|
|
|
# Start with the Fedora 39 image
|
2023-06-26 21:08:09 -05:00
|
|
|
FROM scm.wyattjmiller.com/wymiller/base_container:latest
|
|
|
|
|
|
|
|
# Label it right, ya know?
|
2024-03-09 22:07:32 -06:00
|
|
|
ENV NAME=custom_base_node20_image VERSION=1.1
|
2023-06-26 21:08:09 -05:00
|
|
|
LABEL com.github.containers.toolbox="true" \
|
|
|
|
com.redhat.component="$NAME" \
|
|
|
|
name="$NAME" \
|
|
|
|
version="$VERSION" \
|
|
|
|
usage="Wyatt's base Node.js image" \
|
2024-03-09 22:07:32 -06:00
|
|
|
summary="Wyatt's custom base Node 20 image" \
|
|
|
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
|
|
|
vendor="Miller Web Solutions"
|
2023-06-26 21:08:09 -05:00
|
|
|
|
|
|
|
# Install base development packages
|
|
|
|
RUN dnf install nodejs npm -y -q
|
|
|
|
RUN npm install typescript -g
|