当我使用Windows Server Core作为我的基础映像构建docker映像时,我添加了squashfs,因为它是节点打包程序的依赖文件之一。
以下是我在dockerfile中的构建命令:
COPY /sqfs43-win32 C:\sqfs43-win32
但是,当我尝试在docker容器中运行squashfs时,收到此错误。
Failed exectuing mksquashfs. Have you installed SquashFS Tools?
- On Windows, you could download it from https://github.com/pmq20/squashfuse/files/691217/sqfs43-win32.zip
- On macOS, you could install by using brew: brew install squashfs
- On Linux, you could install via apt or yum, or build from source after downloading source from http://squashfs.sourceforge.net/
我希望你们能通过正确的安装指南帮助我,将squashfs添加到我的容器中。谢谢大家。