mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-20 20:37:44 +00:00
Allow developers to easily build AI apps without worrying about the harness part. Bundles the Rust agent runtime as a SDK (Rust and TypeScript) for building desktop and web applications. Applications can manage a local harness or connect to an authenticated harness service on k8s with separately scaled workers and sandbox execution. The implementation is primarily contained in harness/, with deployment tooling in deploy/, Markdown guides in docs/harness/guides/, and the static documentation site in docs-site/. It does not replace the existing Python harness or migrate OpenWorker Desktop. Co-authored-by: Devika Verma <devikaverma11@gmail.com>
14 lines
1003 B
Docker
14 lines
1003 B
Docker
# Optional development runner. Build context must contain only the matching Linux
|
|
# openworker executable. Never copy a host home, key file, or repository .env.
|
|
FROM node:24-bookworm-slim@sha256:c86ecead9e55a5210ac1727de38a4ca840bf03dcaf34dc9749addbf383b1920c
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates curl git python3 procps && \
|
|
rm -rf /var/lib/apt/lists/* && mkdir -p /sandbox && chown 1000:1000 /sandbox
|
|
# Public read-control fixture: ordinary uid 10001 can read it in Docker, while
|
|
# the qualified OpenShell policy grants /opt/openworker, not this directory.
|
|
RUN mkdir -p /opt/probe-denied && printf 'nonsecret qualification sentinel\n' > /opt/probe-denied/sentinel && chmod 0444 /opt/probe-denied/sentinel
|
|
COPY --chmod=0555 openworker /opt/openworker/openworker
|
|
# OpenShell supplies isolation and launches the session's tool process. This
|
|
# image supplies developer programs; installing them grants no network permission.
|
|
CMD ["sleep", "infinity"]
|