Skip to content

feat: add llamacpp Docker image - #2

Merged
megheaiulian merged 1 commit into
mainfrom
add-llamacpp-image
May 26, 2026
Merged

megheaiulian merged 1 commit into
mainfrom
add-llamacpp-image

Conversation

@megheaiulian

Copy link
Copy Markdown
Contributor

Adds a Docker image based on ghcr.io/ggml-org/llama.cpp:server-cuda with dstack runner prerequisites.

Changes

  • New image: images/llamacpp/Dockerfile — layers openssh-server, sudo, dstack user on top of the official llama.cpp server-cuda image
  • CI: adds build and verify jobs for the llamacpp image
  • README: documents the new image

Tag

ghcr.io/plumelo/dstack-images:llamacpp-latest

Why

The official llama.cpp image is minimal (no SSH, no sudo, no dstack user). This image pre-installs what dstack needs so pods start without the 2-4 minute apt-get delay.

Unlike the previous llama-mtp image that built llama.cpp from source, this one simply layers on top of the official image — no cmake, no CUDA build step, no source clone.

Based on ghcr.io/ggml-org/llama.cpp:server-cuda with dstack runner
prerequisites (openssh-server, sudo, dstack user). Includes MTP and
Jinja autoparser support from the official llama.cpp image.
@megheaiulian megheaiulian reopened this May 26, 2026
@megheaiulian
megheaiulian merged commit 5ea586d into main May 26, 2026
@megheaiulian
megheaiulian deleted the add-llamacpp-image branch May 26, 2026 12:14
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

Successfully merging this pull request may close these issues.

1 participant