Add libnss3 to nodejs (#183)

* Add libnss3 to nodejs
* Lock down some npm version

---------

Co-authored-by: Quinten <[email protected]>
This commit is contained in:
PaulandQuinten authored and GitHub committed 2023-09-06 19:29:47 +02:00
1 parent cafdcdc0f5
commit 02aad5199c
7 files changed
+12 -13

No files matched your search

+2 -3
View File
@@ -3,10 +3,9 @@ FROM --platform=$TARGETOS/$TARGETARCH node:14-bullseye-slim
LABEL author="Michael Parker" maintainer="[email protected]"
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
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 \ && useradd -m -d /home/container container
RUN npm install npm@latest typescript ts-node @types/node --location=global
RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
USER container
ENV USER=container HOME=/home/container