Skip to content

[idea] Docker 09/14: sd.cpp in the image #2109

Closed

Description

@AnishSarkar22

Which part? Desktop app

What would you like?

Step 9 of 14 of #2100: running SurfSense in Docker. Depends on #2108; start once it is merged.

Image generation in Docker, on the CPU.

Design: Docker proposal, The image

What to change

  • Run the desktop's sd.cpp staging (electron/scripts/sdcpp/) with a CPU recipe for Linux amd64 and arm64 in the runtimes stage.
  • Set the image variables in the headless context.

Done when

  • Download an image model and generate an image.
  • sd-server starts when an image model is chosen and stops when none is.

Scope: code and tests only. Don't edit docs/ or AGENTS.md, except to fix a link this change breaks; the maintainers update the docs when the Docker work ships.

Why would it help?

Each step leaves something that runs, so the Docker image is built and reviewed one piece at a time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopSurfSense desktop app (surfsense_local)dockerRunning SurfSense in DockerenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions