tested
Docker Build and Release Upload / build-vulkan (push) Failing after 3m8s
Docker Build and Release Upload / build-uvicorn (push) Canceled after 0s
Docker Build and Release Upload / build-cuda (push) Canceled after 48s

This commit is contained in:
derek committed 2026-09-09 18:49:56 -07:00
1 parent 1d8894b7bc
commit eb0fb3244e
1 file changed
+11 -3
+11 -3
View File
@@ -1,20 +1,28 @@
# Stage 1: Build Ollama with Vulkan support
FROM ubuntu:24.04 AS builder
FROM ubuntu:26.04 AS builder
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
RUN apt update && apt upgrade -y && apt install -y \
build-essential \
cmake \
git \
curl \
wget \
golang-go \
libvulkan-dev \
vulkan-tools \
glslang-tools \
ninja-build \
spirv-headers \
spirv-tools \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Directly install glslc via Debian arm64 package
RUN wget http://ftp.debian.org/debian/pool/main/s/shaderc/glslc_2023.2-1_arm64.deb \
&& apt-get update && apt-get install -y ./glslc_2023.2-1_arm64.deb \
&& rm glslc_2023.2-1_arm64.deb && rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN git clone --recursive https://github.com/ollama/ollama.git .