aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / release / repro / Dockerfile
| 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | # Copyright 2026 Drake Stapleton (AIEN / aien-dev) |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | # Builder image for scripts/repro-container-build.sh (DRA-43). CPU only: no CUDA, no device. |
| 17 | # Base pinned by digest (ubuntu 24.04 arm64); every Ubuntu package pinned by exact .deb sha256 (apt-packages.lock, |
| 18 | # from apt-packages.in by apt-lock.sh at one snapshot.ubuntu.com timestamp; the image's whole dpkg-query listing must |
| 19 | # equal dpkg-manifest.tsv); rustup-init pinned by version and sha256; the Rust toolchain is the one |
| 20 | # rust-toolchain.toml names, with the components it lists, so the build never writes to RUSTUP_HOME. |
| 21 | # Ubuntu's binutils is configured with deterministic archives, so `ar rcs` writes uid/gid 0 and mtime 0. |
| 22 | FROM ubuntu:24.04@sha256:fe81560990fae86dc4743202b2cb4d3df98d0bcf949173cecef15ce1127ef852 |
| 23 | ARG RUSTUP_VERSION=1.29.1 |
| 24 | ARG RUSTUP_INIT_SHA256=15f6e4ce9f583b929c996c91562bad6d4454f3281de858b02cdfdef615fac433 |
| 25 | ARG RUST_TOOLCHAIN=1.98.1 |
| 26 | COPY apt-install.sh apt-packages.lock dpkg-manifest.tsv /tmp/repro-apt/ |
| 27 | RUN bash /tmp/repro-apt/apt-install.sh /tmp/repro-apt/apt-packages.lock /tmp/repro-apt/dpkg-manifest.tsv \ |
| 28 | && rm -rf /tmp/repro-apt |
| 29 | ENV RUSTUP_HOME=/opt/rustup PATH=/opt/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| 30 | RUN curl --proto '=https' --tlsv1.2 -sSfo /tmp/rustup-init \ |
| 31 | "https://static.rust-lang.org/rustup/archive/${RUSTUP_VERSION}/aarch64-unknown-linux-gnu/rustup-init" \ |
| 32 | && echo "${RUSTUP_INIT_SHA256} /tmp/rustup-init" | sha256sum -c - \ |
| 33 | && chmod 755 /tmp/rustup-init \ |
| 34 | && CARGO_HOME=/opt/cargo /tmp/rustup-init -y --no-modify-path --profile minimal \ |
| 35 | --default-toolchain "${RUST_TOOLCHAIN}" --component rustfmt --component clippy \ |
| 36 | && rm /tmp/rustup-init \ |
| 37 | && chmod -R a+rX /opt/rustup /opt/cargo |