fontgen: install npm, lv_font_conv in Dockerfile

This commit is contained in:
Yehoshua Pesach Wallach 2022-04-24 19:53:38 +03:00 committed by JF
parent 2ccf88c03c
commit 95a970a75d

View file

@ -13,19 +13,23 @@ RUN apt-get update -qq \
python3-pip \
tar \
unzip \
wget \
wget \
curl \
# aarch64 packages
libffi-dev \
libssl-dev \
python3-dev \
python \
git \
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
# Git needed for PROJECT_GIT_COMMIT_HASH variable setting
RUN pip3 install adafruit-nrfutil
RUN pip3 install -Iv cryptography==3.3
RUN npm i lv_font_conv@1.5.2 -g
# build.sh knows how to compile
COPY build.sh /opt/