feat(dev): add nodejs 14.x
Required by the ZMK documentation (docusaurus/webpack). Sourced from NodeSource.
This commit is contained in:
parent
5de32f5d18
commit
fc8dd6e5a8
@ -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=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user