mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
docker: Install node modules locally
This commit is contained in:
parent
de04b9ff0f
commit
1f9e8732b1
|
@ -38,7 +38,6 @@ RUN apt-get update -qq \
|
||||||
RUN pip3 install adafruit-nrfutil
|
RUN pip3 install adafruit-nrfutil
|
||||||
RUN pip3 install -Iv cryptography==3.3
|
RUN pip3 install -Iv cryptography==3.3
|
||||||
RUN pip3 install cbor
|
RUN pip3 install cbor
|
||||||
RUN npm i lv_font_conv@1.5.2 -g
|
|
||||||
|
|
||||||
# build.sh knows how to compile
|
# build.sh knows how to compile
|
||||||
COPY build.sh /opt/
|
COPY build.sh /opt/
|
||||||
|
|
|
@ -33,6 +33,8 @@ main() {
|
||||||
[ ! -d "$TOOLS_DIR/$NRF_SDK_VER" ] && GetNrfSdk
|
[ ! -d "$TOOLS_DIR/$NRF_SDK_VER" ] && GetNrfSdk
|
||||||
[ ! -d "$TOOLS_DIR/mcuboot" ] && GetMcuBoot
|
[ ! -d "$TOOLS_DIR/mcuboot" ] && GetMcuBoot
|
||||||
|
|
||||||
|
npm i
|
||||||
|
|
||||||
mkdir -p "$BUILD_DIR"
|
mkdir -p "$BUILD_DIR"
|
||||||
|
|
||||||
CmakeGenerate
|
CmakeGenerate
|
||||||
|
|
Loading…
Reference in a new issue