Files
leleka/deploy/Dockerfile.linux-check
T
Pavlo RatushnyiandClaude Sonnet 5.5 0d5d95eb0e
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
build: Linux x64 build and unit-test check in Docker; recorded in the Windows runtime doc (STRA-220)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 13:53:21 +02:00

14 lines
1012 B
Docker

# Checks that the leleka workers and the control plane build on Linux x64 and that the unit tests of the runtime crates
# pass (tests that need a model or hardware skip themselves). The control plane's own tests need files that
# .dockerignore leaves out, so it is only built here.
# docker build -f deploy/Dockerfile.linux-check .
FROM rust:1.99-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends cmake pkg-config && rm -rf /var/lib/apt/lists/*
WORKDIR /src
COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry --mount=type=cache,target=/src/target \
cargo test --release -p leleka-cpu-sys -p leleka-cpu-kernels -p leleka-gptoss -p leleka-cpu-worker -p leleka-gguf \
-p leleka-tokenizer -p leleka-shm -p leleka-npu-service -p leleka-gptoss-npu -p leleka-npu-worker \
-p leleka-igpu -p leleka-gptoss-igpu -p leleka-igpu-worker \
&& cargo build --release -p strata-control -p leleka-cpu-worker -p leleka-igpu-worker -p leleka-npu-worker -p leleka-npu-service