mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 22:21:39 +00:00
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:
1 parent
a42febc72c
commit
bc9645e8bf
6 files changed
+22
-2
No files matched your search
@@ -12,7 +12,7 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ RUN apt update \
|
|||||||
|
|
||||||
RUN npm install [email protected] typescript ts-node @types/node --location=global
|
RUN npm install [email protected] 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ RUN apt update \
|
|||||||
|
|
||||||
RUN npm install [email protected] typescript ts-node @types/node --location=global
|
RUN npm install [email protected] 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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ RUN apt update \
|
|||||||
|
|
||||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|||||||
@@ -8,6 +8,11 @@ RUN apt update \
|
|||||||
|
|
||||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
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
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|||||||
Reference in new issue
Block a user