diff --git a/nodejs/12/Dockerfile b/nodejs/12/Dockerfile index e85daf7..348c9fd 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 fe2764d..c0d53ee 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 6abcc86..6117c85 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 4bfe3c1..c3f3b9d 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 a42270f..691e8b2 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 7de0f65..8f6953c 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