Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ARG GO_VERSION=1.24
ARG LLAMA_SERVER_VERSION=latest
ARG LLAMA_SERVER_VARIANT=cpu
ARG LLAMA_BINARY_PATH=/com.docker.llama-server.native.linux.${LLAMA_SERVER_VARIANT}.${TARGETARCH}
ARG BASE_IMAGE=ubuntu:24.04

# only 25.10 for cpu variant for max hardware support with vulkan
ARG BASE_IMAGE=ubuntu:25.10

FROM docker.io/library/golang:${GO_VERSION}-bookworm AS builder

Expand Down
2 changes: 1 addition & 1 deletion scripts/apt-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ main() {
apt-get update
local packages=("ca-certificates")
if [ "$LLAMA_SERVER_VARIANT" = "generic" ] || [ "$LLAMA_SERVER_VARIANT" = "cpu" ]; then
apt-get install -y libvulkan1
packages+=("libvulkan1" "mesa-vulkan-drivers"))
fi

apt-get install -y "${packages[@]}"
Expand Down
Loading