fontgen: install npm, lv_font_conv in Dockerfile
This commit is contained in:
		
							parent
							
								
									2ccf88c03c
								
							
						
					
					
						commit
						95a970a75d
					
				@ -13,19 +13,23 @@ RUN apt-get update -qq \
 | 
				
			|||||||
      python3-pip \
 | 
					      python3-pip \
 | 
				
			||||||
      tar \
 | 
					      tar \
 | 
				
			||||||
      unzip \
 | 
					      unzip \
 | 
				
			||||||
      wget \ 
 | 
					      wget \
 | 
				
			||||||
 | 
					      curl \
 | 
				
			||||||
# aarch64 packages
 | 
					# aarch64 packages
 | 
				
			||||||
      libffi-dev \
 | 
					      libffi-dev \
 | 
				
			||||||
      libssl-dev \
 | 
					      libssl-dev \
 | 
				
			||||||
      python3-dev \
 | 
					      python3-dev \
 | 
				
			||||||
      python \
 | 
					      python \
 | 
				
			||||||
      git \
 | 
					      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/*;
 | 
					    && rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Git needed for PROJECT_GIT_COMMIT_HASH variable setting
 | 
					# Git needed for PROJECT_GIT_COMMIT_HASH variable setting
 | 
				
			||||||
 | 
					
 | 
				
			||||||
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 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/
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user