Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert & docker #480

Open
daiyam opened this issue Jun 5, 2021 · 4 comments
Open

convert & docker #480

daiyam opened this issue Jun 5, 2021 · 4 comments

Comments

@daiyam
Copy link
Contributor

daiyam commented Jun 5, 2021

The convert provided by pkg2appimage is an AppImage.
So in Docker, any recipe with a convert command will generate the error Cannot mount AppImage, please check your FUSE setup..
As for appimagetool, it would be need to be extracted and linked.

@probonopd
Copy link
Member

probonopd commented Jun 6, 2021

What happens if you

export APPIMAGE_EXTRACT_AND_RUN=1 

and then run the AppImage?

@probonopd probonopd reopened this Jun 6, 2021
@daiyam
Copy link
Contributor Author

daiyam commented Jun 6, 2021

I'm still getting the following error:

+ convert vscodium.png -resize 512x512 usr/share/icons/hicolor/512x512/apps/vscodium.png
fuse: device not found, try 'modprobe fuse' first

Cannot mount AppImage, please check your FUSE setup.
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
open dir error: No such file or directory
root@dfa25b760a06:~/vscodium# echo $APPIMAGE_EXTRACT_AND_RUN
1

@probonopd
Copy link
Member

@TheAssassin do you see any reason why an AppImage inside another AppImage would cause this in Docker when APPIMAGE_EXTRACT_AND_RUN=1 is set?

@daiyam
Copy link
Contributor Author

daiyam commented Jun 8, 2021

pkg2appimage is executed with the command bash -ex pkg2appimage.AppDir/AppRun VSCodium-AppImage-Recipe.yml (due to #479)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants