feat(channels): wire up email channel (IMAP/SMTP) into config and registration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Argenis 2026-02-15 10:58:30 -05:00 committed by GitHub
parent efe7ae53ce
commit ced4d70814
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 48 additions and 162 deletions

View file

@ -1,5 +1,5 @@
# ── Stage 1: Build ────────────────────────────────────────────
FROM rust:1.83-slim AS builder
FROM rust:1.93-slim-bookworm AS builder
WORKDIR /app
COPY Cargo.toml Cargo.lock ./
@ -8,8 +8,8 @@ COPY src/ src/
RUN cargo build --release --locked && \
strip target/release/zeroclaw
# ── Stage 2: Runtime (distroless nonroot — no shell, no OS, tiny, UID 65534) ──
FROM gcr.io/distroless/cc-debian12:nonroot
# ── Stage 2: Runtime (distroless, runs as root for /data write access) ──
FROM gcr.io/distroless/cc-debian12
COPY --from=builder /app/target/release/zeroclaw /usr/local/bin/zeroclaw
@ -32,9 +32,6 @@ ENV ZEROCLAW_WORKSPACE=/data/workspace
# Example:
# docker run -e API_KEY=sk-... -e PROVIDER=openrouter zeroclaw/zeroclaw
# Explicitly set non-root user (distroless:nonroot defaults to 65534, but be explicit)
USER 65534:65534
EXPOSE 3000
ENTRYPOINT ["zeroclaw"]