Node corepack fixes, debuid now depends from node
This commit is contained in:
parent
24ab6cc7ad
commit
18effab00c
|
@ -1,4 +1,4 @@
|
|||
FROM debian:bookworm-slim
|
||||
FROM registry.verdnatura.es/verdnatura/node:20.18.3-vn1
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -6,20 +6,8 @@ RUN apt-get update \
|
|||
&& apt-get install -y \
|
||||
build-essential \
|
||||
debhelper \
|
||||
devscripts
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
ca-certificates \
|
||||
gnupg2 \
|
||||
libfontconfig \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
nodejs \
|
||||
&& npm install -g npm
|
||||
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
devscripts \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN groupadd -g 1000 jenkins \
|
||||
&& useradd -d /home/jenkins -u 1000 -g 1000 -m -s /bin/bash jenkins \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM debian:12.6-slim
|
||||
FROM registry.verdnatura.es/debian:12.9-slim
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -9,5 +9,6 @@ RUN apt-get update \
|
|||
gnupg2 \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& npm install -g npm \
|
||||
&& npm install -g corepack@0.31.0 \
|
||||
&& corepack enable pnpm \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
|
Loading…
Reference in New Issue