CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 9m30s
- firmwerk git deps now platform/firmwerk tag v0.4.2 (crates firmwerk-*); imports renamed tramiton_* -> firmwerk_*; Cargo.lock re-resolved - CI + Dockerfiles fetch the private dependency as bot platform-ci with the org secret PLATFORM_CI_TOKEN (BuildKit secret id git_token) - images push to repo.breakpilot.com/pruefwerk/*; orca payload full_name is platform/pruefwerk; the redeploy POST is gated on the repo variable ORCA_WEBHOOK_URL (unset until the platform cluster master exists, M-MIG-3) - default soft-PLC image, vitepress link, audit/dedup/agent_client hosts moved off registry/gitea/comp-dev.meghsakha.com - deploy/docker-compose.mailserver.yml removed (scanner mailserver retired) Repo transferred + renamed sharang/compliance-scanner-agent -> platform/pruefwerk (M-MIG-4). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
27 lines
891 B
Docker
27 lines
891 B
Docker
FROM rust:1.94-bookworm AS builder
|
|
|
|
WORKDIR /app
|
|
COPY . .
|
|
# compliance-agent (a workspace member) depends on the private firmwerk git
|
|
# repo, so the workspace resolve needs it even to build the mcp binary.
|
|
# Authenticate the fetch with a PAT passed as a BuildKit secret.
|
|
RUN --mount=type=secret,id=git_token \
|
|
if [ -s /run/secrets/git_token ]; then \
|
|
git config --global \
|
|
url."https://platform-ci:$(cat /run/secrets/git_token)@git.breakpilot.com/".insteadOf \
|
|
"ssh://git@git.breakpilot.com:22222/"; \
|
|
fi && \
|
|
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo build --release -p compliance-mcp
|
|
|
|
FROM debian:bookworm-slim
|
|
RUN apt-get update && apt-get install -y ca-certificates libssl3 && rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY --from=builder /app/target/release/compliance-mcp /usr/local/bin/compliance-mcp
|
|
|
|
EXPOSE 8090
|
|
|
|
ENV MCP_PORT=8090
|
|
|
|
ENTRYPOINT ["compliance-mcp"]
|
|
|