2026-04-06 02:07:17 +00:00
|
|
|
# Pre-baked builder for Linux amd64 Tauri releases.
|
|
|
|
|
# All system dependencies are installed once here; CI jobs skip apt-get entirely.
|
|
|
|
|
# Rebuild when: Rust toolchain version changes, webkit2gtk/gtk major version changes,
|
2026-04-12 23:54:57 +00:00
|
|
|
# Node.js major version changes, OpenSSL major version changes (used via OPENSSL_STATIC=1),
|
2026-04-13 17:47:21 +00:00
|
|
|
# or Tauri CLI version changes that affect bundler system deps.
|
2026-04-12 23:54:57 +00:00
|
|
|
# Tag format: rust<VER>-node<VER>
|
2026-04-06 02:07:17 +00:00
|
|
|
FROM rust:1.88-slim
|
|
|
|
|
|
|
|
|
|
RUN apt-get update -qq \
|
|
|
|
|
&& apt-get install -y -qq --no-install-recommends \
|
2026-04-13 01:07:20 +00:00
|
|
|
ca-certificates \
|
2026-04-06 02:07:17 +00:00
|
|
|
libwebkit2gtk-4.1-dev \
|
|
|
|
|
libssl-dev \
|
|
|
|
|
libgtk-3-dev \
|
|
|
|
|
libayatana-appindicator3-dev \
|
|
|
|
|
librsvg2-dev \
|
2026-06-14 07:07:38 +00:00
|
|
|
libsodium-dev \
|
2026-04-06 02:07:17 +00:00
|
|
|
patchelf \
|
|
|
|
|
pkg-config \
|
|
|
|
|
curl \
|
|
|
|
|
perl \
|
|
|
|
|
jq \
|
|
|
|
|
git \
|
|
|
|
|
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
|
|
|
|
&& apt-get install -y --no-install-recommends nodejs \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
2026-06-05 19:52:00 +00:00
|
|
|
# tea (Gitea CLI) can be installed if needed:
|
|
|
|
|
# RUN curl -sL https://dl.gitea.com/tea/master/tea-master-linux-amd64 -o /usr/local/bin/tea \
|
|
|
|
|
# && chmod +x /usr/local/bin/tea
|
feat: full copy from apollo_nxt-trcaa with complete sanitization
Complete backport of all features from apollo_nxt-trcaa repository:
- Three-tier shell execution safety system (Tier 1: auto, Tier 2: approve, Tier 3: deny)
- Ollama function calling with tool use support
- AI provider tool calling auto-detection
- kubectl binary bundling and management
- kubeconfig upload and context management
- Shell approval modal with real-time UI
- MCP protocol HTTP transport with custom headers
- Enhanced security audit logging
- Comprehensive test coverage (275+ tests)
- Updated CI/CD workflows for Gitea Actions
- Complete documentation (ADRs, wiki, release notes)
Sanitization applied to all files:
- Removed all MSI, Motorola, VNXT, Vesta references
- Replaced internal infrastructure references with TFTSR equivalents
- Updated all URLs and API endpoints
- Sanitized commit history references in documentation
Technical changes:
- New modules: shell/classifier, shell/executor, shell/kubectl, shell/kubeconfig
- Enhanced AI providers: ollama.rs, openai.rs with function calling
- New Tauri commands: shell execution, kubeconfig management, tool calling detection
- Database migrations: shell_execution_audit table
- Frontend: ShellApprovalModal, ShellExecution, KubeconfigManager pages
- CI/CD: kubectl bundling, multi-platform builds, Gitea Actions integration
Version: 1.0.8
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-05 19:11:00 +00:00
|
|
|
|
2026-04-12 23:28:07 +00:00
|
|
|
RUN rustup target add x86_64-unknown-linux-gnu \
|
2026-04-13 01:07:20 +00:00
|
|
|
&& rustup component add rustfmt clippy
|