dev-tools: ensure we install Node from upstream

Fixes: #3173 ("`bw-dev build` fails")
This commit is contained in:
Dato Simó 2024-01-01 09:01:21 -03:00
parent 000e5e6145
commit 09b2dea995
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,7 @@ ENV PYTHONUNBUFFERED=1
ENV NPM_CONFIG_UPDATE_NOTIFIER=false
ENV PIP_ROOT_USER_ACTION=ignore PIP_DISABLE_PIP_VERSION_CHECK=1
COPY nodejs.pref /etc/apt/preferences.d/
COPY nodejs.sources /etc/apt/sources.list.d/
COPY package.json requirements.txt .stylelintrc.js .stylelintignore /app/dev-tools/

4
dev-tools/nodejs.pref Normal file
View file

@ -0,0 +1,4 @@
Package: nodejs
Pin: origin deb.nodesource.com
Pin-Priority: 995
Explanation: prefer upstream packaging over Debian's