diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile index e85daf71c..348c9fdc0 100644 --- a/nodejs/12/Dockerfile +++ b/nodejs/12/Dockerfile @@ -12,7 +12,7 @@ USER container ENV USER=container HOME=/home/container WORKDIR /home/container -STOPSIGNAL SIGINT +STOPSIGNAL SIGINT COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/nodejs/14/Dockerfile b/nodejs/14/Dockerfile index fe2764d4d..c0d53ee6e 100644 --- a/nodejs/14/Dockerfile +++ b/nodejs/14/Dockerfile @@ -12,7 +12,7 @@ USER container ENV USER=container HOME=/home/container WORKDIR /home/container -STOPSIGNAL SIGINT +STOPSIGNAL SIGINT COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/nodejs/18/Dockerfile b/nodejs/18/Dockerfile index 6abcc86c0..6117c85f5 100644 --- a/nodejs/18/Dockerfile +++ b/nodejs/18/Dockerfile @@ -8,6 +8,11 @@ RUN apt update \ RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global +# install pnpm +RUN npm install -g corepack +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/nodejs/19/Dockerfile b/nodejs/19/Dockerfile index 4bfe3c1f9..c3f3b9d70 100644 --- a/nodejs/19/Dockerfile +++ b/nodejs/19/Dockerfile @@ -8,6 +8,11 @@ RUN apt update \ RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global +# install pnpm +RUN npm install -g corepack +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/nodejs/20/Dockerfile b/nodejs/20/Dockerfile index a42270fb0..691e8b2fb 100644 --- a/nodejs/20/Dockerfile +++ b/nodejs/20/Dockerfile @@ -8,6 +8,11 @@ RUN apt update \ RUN npm install npm@latest typescript ts-node @types/node --location=global +# install pnpm +RUN npm install -g corepack +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/nodejs/21/Dockerfile b/nodejs/21/Dockerfile index 7de0f65b3..8f6953ca3 100644 --- a/nodejs/21/Dockerfile +++ b/nodejs/21/Dockerfile @@ -8,6 +8,11 @@ RUN apt update \ RUN npm install npm@latest typescript ts-node @types/node --location=global +# install pnpm +RUN npm install -g corepack +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + USER container ENV USER=container HOME=/home/container WORKDIR /home/container