Skip to content

Commit

Permalink
Merge pull request #172 from parkervcp/typescript
Browse files Browse the repository at this point in the history
Nodejs: Add Typescript support
  • Loading branch information
parkervcp authored Aug 13, 2023
2 parents dbe89a4 + 5b354d0 commit 0ac62fc
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion nodejs/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nodejs/14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nodejs/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nodejs/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] --location=global
RUN npm install [email protected] typescript ts-node @types/node --location=global

USER container
ENV USER=container HOME=/home/container
Expand Down
2 changes: 1 addition & 1 deletion nodejs/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nodejs/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nodejs/20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ac62fc

Please sign in to comment.