我试图使用Gitlab来构建一个AppImage,但是在Ubuntu映像中,fuse似乎是不可用的。是否有任何方法可以在这个Docker映像或其他可用的映像上构建AppImage,或者我是否需要创建自己的映像。
我的.gitlab-ci.yml
image: ubuntu:latest
debian packager:
stage: build
script:
- ./installer.sh --make-deb
artifacts:
paths:
- iicalc.deb
only:
- development
AppImage packager:
stage: build
script:
- ./installer.sh --make-appImage
artifacts:
paths:
- ImaginaryInfinity_Calculator-x86_64.AppImage
only:
- developmentinstaller.sh中的相关部分
ARCH=x86_64 ./appimagetool-x86_64.AppImage iicalc-appImage在管道运行时遇到的错误:
dlopen(): error loading libfuse.so.2
AppImages require FUSE to run.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information链接到存储库,以防您想看到任何其他内容(与AppImage相关的内容在开发分支上):https://gitlab.com/TurboWafflz/ImaginaryInfinity-Calculator
发布于 2020-09-12 05:10:53
您需要提取AppImage才能使用它。如下所示:
sudo wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool
sudo chmod +x /opt/appimagetool
cd /opt/; sudo /opt/appimagetool --appimage-extract
sudo mv /opt/squashfs-root /opt/appimagetool.AppDir
sudo ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool请参阅更多:
https://stackoverflow.com/questions/63850378
复制相似问题