From b137ca223e07bbb714b53d51e71be30f003bda50 Mon Sep 17 00:00:00 2001 From: Finlay Davidson Date: Thu, 22 Jun 2023 18:02:17 +0200 Subject: [PATCH] docker: Install node modules locally --- docker/Dockerfile | 5 ----- docker/build.sh | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 927160dbeb..9f9a70dd83 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -37,11 +37,6 @@ RUN apt-get update -qq \ RUN pip3 install adafruit-nrfutil RUN pip3 install -Iv cryptography==3.3 RUN pip3 install cbor -RUN npm i lv_font_conv@1.5.2 -g - -RUN npm i ts-node@10.9.1 -g -RUN npm i @swc/core -g -RUN npm i lv_img_conv@0.3.0 -g # build.sh knows how to compile COPY build.sh /opt/ diff --git a/docker/build.sh b/docker/build.sh index 3a467b9f80..dbe9145a15 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -33,6 +33,8 @@ main() { [ ! -d "$TOOLS_DIR/$NRF_SDK_VER" ] && GetNrfSdk [ ! -d "$TOOLS_DIR/mcuboot" ] && GetMcuBoot + npm i + mkdir -p "$BUILD_DIR" CmakeGenerate