From 47f6300258bebec1bdee4e17fba4d1b0f2d73035 Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Sun, 13 Aug 2023 10:47:33 +0200 Subject: [PATCH 1/2] Nodejs: Add Typescript support --- nodejs/12/Dockerfile | 2 +- nodejs/14/Dockerfile | 2 +- nodejs/16/Dockerfile | 2 +- nodejs/17/Dockerfile | 3 ++- nodejs/18/Dockerfile | 2 +- nodejs/19/Dockerfile | 2 +- nodejs/20/Dockerfile | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile index c10b4b7..eeee6ae 100644 --- a/nodejs/12/Dockerfile +++ b/nodejs/12/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@latest -g +RUN npm install npm@latest typescript ts-node @types/node --location=global USER container ENV USER=container HOME=/home/container diff --git a/nodejs/14/Dockerfile b/nodejs/14/Dockerfile index 819b31d..576395b 100644 --- a/nodejs/14/Dockerfile +++ b/nodejs/14/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@latest -g +RUN npm install npm@latest typescript ts-node @types/node --location=global USER container ENV USER=container HOME=/home/container diff --git a/nodejs/16/Dockerfile b/nodejs/16/Dockerfile index e59bc4b..466efea 100644 --- a/nodejs/16/Dockerfile +++ b/nodejs/16/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@latest -g +RUN npm install npm@latest typescript ts-node @types/node --location=global USER container ENV USER=container HOME=/home/container diff --git a/nodejs/17/Dockerfile b/nodejs/17/Dockerfile index 08d5c07..c94a1e0 100644 --- a/nodejs/17/Dockerfile +++ b/nodejs/17/Dockerfile @@ -6,7 +6,8 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@8.11.0 --location=global +RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global + USER container ENV USER=container HOME=/home/container diff --git a/nodejs/18/Dockerfile b/nodejs/18/Dockerfile index d62fcec..56e82f5 100644 --- a/nodejs/18/Dockerfile +++ b/nodejs/18/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@latest -g +RUN npm install npm@latest typescript ts-node @types/node --location=global USER container ENV USER=container HOME=/home/container diff --git a/nodejs/19/Dockerfile b/nodejs/19/Dockerfile index fd9a71f..5768f93 100644 --- a/nodejs/19/Dockerfile +++ b/nodejs/19/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@latest -g +RUN npm install npm@latest typescript ts-node @types/node --location=global USER container ENV USER=container HOME=/home/container diff --git a/nodejs/20/Dockerfile b/nodejs/20/Dockerfile index ef9ea31..498adda 100644 --- a/nodejs/20/Dockerfile +++ b/nodejs/20/Dockerfile @@ -6,7 +6,7 @@ RUN apt update \ && apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \ && useradd -m -d /home/container container -RUN npm install npm@latest -g +RUN npm install npm@latest typescript ts-node @types/node --location=global USER container ENV USER=container HOME=/home/container From 5b354d0efc2f1d5cd7ea8d57aa75dd5bafca752f Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Sun, 13 Aug 2023 10:53:28 +0200 Subject: [PATCH 2/2] Remove extra empty line --- nodejs/17/Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/nodejs/17/Dockerfile b/nodejs/17/Dockerfile index c94a1e0..ab8c039 100644 --- a/nodejs/17/Dockerfile +++ b/nodejs/17/Dockerfile @@ -8,7 +8,6 @@ RUN apt update \ RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global - USER container ENV USER=container HOME=/home/container WORKDIR /home/container