appimagetool icon indicating copy to clipboard operation
appimagetool copied to clipboard

Make `--runtime-file` specifiable via an environment variable

Open mamekoro opened this issue 5 months ago • 2 comments

When building a project that produces an AppImage file (e.g., KeePassXC) in a Dockerfile, I need to parse and edit the build scripts of the project to pass --runtime-file ./path_to_downloaded_runtime_file to the appimagetool command.

Could you consider making --runtime-file specifiable via an environment variable? If that becomes possible, I would only need to specify ENV <environment_variable>=/path_to_runtime in the Dockerfile.

mamekoro avatar Jul 27 '25 16:07 mamekoro

I think this is a usage issue rather than a Docker or appimagetool issue.

If you need a way to build an AppImage allowing you to configure the build with environment variables, check out linuxdeploy-plugin-appimage, a wrapper around appimagetool.

TheAssassin avatar Jul 27 '25 21:07 TheAssassin

@TheAssassin would having the env hurt though?

probonopd avatar Jul 30 '25 04:07 probonopd