I'm building an Electron-based kiosk app using Balena to run on a Raspberry Pi 4. Balena requires a Dockerfile to build the container that will run my app. In that Dockerfile, I must make sure I install all the libraries needed by Electron. The image I'm using is based on Debian Buster (the default image Balena uses).
I've found two working examples in GitHub similar to what I'm trying to do where I can see which libraries are installed:
And also two files inside the Electron repo that mention required libraries:
Each list of libraries in the above files is different from the others. I don't know which one I should follow. Also, the build instructions for Linux don't have any list specific for Debian.
How can I know for sure exactly which libraries I need to install in my Debian-based container so that Electron can run?
在示例中,它应该显示一个可用于获取所需库的 Dockerfile。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.