From a6712713177127989d898d36e6e3d7bad56085a5 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Wed, 7 Oct 2026 16:17:53 +0200 Subject: [PATCH] Use root package install in Gitea job containers --- .github/workflows/linux.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 26a0ec87..dbd08d40 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install build tools - run: sudo apt-get update && sudo apt-get install -y cmake ninja-build g++ python3-numpy + run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y cmake ninja-build g++ python3-numpy - name: Install pinned Rust run: rustup toolchain install 1.99.0 --profile minimal --component rustfmt --component clippy - name: Local checks @@ -124,7 +124,7 @@ jobs: echo "CUDACXX=$RUNNER_TEMP/strata-cuda-toolkit/bin/nvcc" >> "$GITHUB_ENV" echo "CUDAToolkit_ROOT=$RUNNER_TEMP/strata-cuda-toolkit" >> "$GITHUB_ENV" echo "STRATA_BUILD_DIR=$RUNNER_TEMP/strata-hosted-cuda-engine" >> "$GITHUB_ENV" - sudo apt-get update && sudo apt-get install -y musl-tools binutils + apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y musl-tools binutils docker.io - name: Assemble pinned build-only CUDA components run: python3 scripts/bootstrap-cuda-toolkit.py --output "$CUDAToolkit_ROOT" - name: Build pinned GPU-hidden compiler image @@ -260,7 +260,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install musl toolchain - run: sudo apt-get update && sudo apt-get install -y musl-tools cmake binutils python3-numpy + run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y musl-tools cmake binutils python3-numpy docker.io - name: Install pinned Rust and target run: | rustup toolchain install 1.99.0 --profile minimal @@ -395,6 +395,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install Docker CLI and verify runner daemon + run: | + command -v docker >/dev/null 2>&1 || { apt-get update -qq; DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker.io; } + docker version - name: Build actual CLI-only scratch image run: docker build --file deploy/Dockerfile.static-cli --tag strata-cli-check . - name: Check isolated CLI container startup and shutdown