Files
spacedrive/scripts/appimage

AppImage build script and files

This directory contains the script and recipe to build an AppImage from a Spacedrive .deb using appimage-builder.

Instructions (Requires a Linux environment)

  • Install one of the following container runtimes:

  • Set up your development environment following the steps in the CONTRIBUTING guide

  • Build a production release of Spacedrive by invoking pnpm tauri in a terminal window inside the Spacedrive repository root

    After the build finishes you should end up with a .deb archive in target/release/bundle/deb

  • Change your current work directory to scripts/appimage

  • Execute the build_appimage.sh script inside a debian:bookworm container

    • Podman: podman run --rm -v "$(CDPATH='' cd ../.. && pwd -P):/srv" -w /srv debian:bookworm scripts/appimage/build_appimage.sh

      • You may have to run Podman with podman run --privileged if you get a permission denied error
    • Docker: docker run --rm -v "$(CDPATH='' cd ../.. && pwd -P):/srv" -w /srv debian:bookworm scripts/appimage/build_appimage.sh

      If you are running a system with selinux enforcing you will need mount the /srv volume with the Z flag to avoid Permission denied errors. more info

    After the script finishes you should end up with an .AppImage executable in target/release/bundle/appimage