add pnpm to node images (#252)
* add pnpm to node images * removed pnpm from 12 till 17, because as pnpm is only available from version 18
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user