feat(dev): add nodejs 14.x

Required by the ZMK documentation (docusaurus/webpack).

Sourced from NodeSource.
This commit is contained in:
innovaker 2020-12-02 13:04:53 +00:00
parent 5de32f5d18
commit fc8dd6e5a8

View File

@ -45,8 +45,14 @@ FROM common AS dev-generic
RUN \ RUN \
apt-get -y update \ apt-get -y update \
&& apt-get -y install --no-install-recommends \ && apt-get -y install --no-install-recommends \
curl \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get -y update \
&& apt-get -y install --no-install-recommends \
g++-multilib \ g++-multilib \
gpg-agent \
libsdl2-dev \ libsdl2-dev \
nodejs \
python3 \ python3 \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
@ -59,7 +65,8 @@ RUN \
-r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v${ZEPHYR_VERSION}/scripts/requirements-build-test.txt \ -r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v${ZEPHYR_VERSION}/scripts/requirements-build-test.txt \
-r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v${ZEPHYR_VERSION}/scripts/requirements-run-test.txt \ -r https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/v${ZEPHYR_VERSION}/scripts/requirements-run-test.txt \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/* \
&& node --version
ENV DEBIAN_FRONTEND= ENV DEBIAN_FRONTEND=