From fc8dd6e5a808aec45b92cc789e706983849f62e1 Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Wed, 2 Dec 2020 13:04:53 +0000 Subject: [PATCH] feat(dev): add nodejs 14.x Required by the ZMK documentation (docusaurus/webpack). Sourced from NodeSource. --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee9cdec..6e1d6c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,8 +45,14 @@ FROM common AS dev-generic RUN \ apt-get -y update \ && 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 \ + gpg-agent \ libsdl2-dev \ + nodejs \ python3 \ python3-dev \ 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-run-test.txt \ && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + && rm -rf /var/lib/apt/lists/* \ + && node --version ENV DEBIAN_FRONTEND=