Add libnss3 to nodejs (#183)
* Add libnss3 to nodejs * Lock down some npm version --------- Co-authored-by: Quinten <josdekurk@gmail.com>
This commit is contained in:
@@ -3,10 +3,10 @@ FROM --platform=$TARGETOS/$TARGETARCH node:12-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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
|
&& 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
@@ -3,10 +3,9 @@ FROM --platform=$TARGETOS/$TARGETARCH node:14-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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
|
||||||
&& 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
@@ -3,10 +3,10 @@ FROM --platform=$TARGETOS/$TARGETARCH node:16-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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
|
&& 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
@@ -3,7 +3,7 @@ FROM --platform=$TARGETOS/$TARGETARCH node:17-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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 libnss3 \
|
||||||
&& useradd -m -d /home/container container
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global
|
RUN npm install npm@8.11.0 typescript ts-node @types/node --location=global
|
||||||
|
@@ -3,10 +3,10 @@ FROM --platform=$TARGETOS/$TARGETARCH node:18-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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
|
&& 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
@@ -3,10 +3,10 @@ FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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
|
&& 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
|
@@ -3,7 +3,7 @@ FROM --platform=$TARGETOS/$TARGETARCH node:20-bullseye-slim
|
|||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
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 \
|
&& 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
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
||||||
|
Reference in New Issue
Block a user