docker: Install node modules locally

This commit is contained in:
FintasticMan 2023-06-22 18:02:17 +02:00
parent de04b9ff0f
commit 1f9e8732b1
No known key found for this signature in database
GPG key ID: A00F1AB6DB1ED386
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,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
# build.sh knows how to compile
COPY build.sh /opt/

View file

@ -33,6 +33,8 @@ main() {
[ ! -d "$TOOLS_DIR/$NRF_SDK_VER" ] && GetNrfSdk
[ ! -d "$TOOLS_DIR/mcuboot" ] && GetMcuBoot
npm i
mkdir -p "$BUILD_DIR"
CmakeGenerate