MT#55391 Add NODE_PATH variable to Dockerfile

It's needed after upgrade of nodejs to v18.

Add python3 as otherwise the built-in
'multiprocessing' module is not there (required by gyp build).
Add missing 'make' and 'g++'.

Change-Id: I2afab2e5b150919542ecd597202dc5324c2a40f1
pull/17/head
Mykola Malkov 3 years ago
parent 86cf410329
commit c97988e790

@ -5,7 +5,9 @@ FROM docker.mgm.sipwise.com/sipwise-bullseye:latest
# is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2021-09-27
ENV REFRESHED_AT 2022-10-04
ENV NODE_PATH=/usr/lib/nodejs:/usr/share/nodejs
ENV DEBIAN_FRONTEND noninteractive
ENV DISPLAY=:0
@ -14,7 +16,10 @@ COPY t/sources.list.d/builddeps.list /etc/apt/sources.list.d/
COPY t/sources.list.d/preferences /etc/apt/preferences.d/
RUN apt-get update && apt-get install --assume-yes --no-install-recommends \
g++ \
make \
nodejs \
python3 \
yarnpkg
RUN echo "cd /code && ./t/testrunner" >/root/.bash_history

Loading…
Cancel
Save