Files
openworker/harness/tests/linux-client/Dockerfile
Rohit PrasadandDevika Verma d53e058eda Introduce OpenWorker Harness SDK (in beta), agent service cluster and relevant developer documentation (#844)
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>
2026-11-06 09:45:20 -08:00

18 lines
1.1 KiB
Docker

# Test harness only, not the shipped ExampleApp artifact.
FROM docker:29-cli AS docker-cli
FROM node:20-bookworm-slim
COPY --from=docker-cli /usr/local/bin/docker /usr/local/bin/docker
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl socat \
&& rm -rf /var/lib/apt/lists/*
ARG TARGETARCH
RUN case "$TARGETARCH" in arm64) arch=aarch64 ;; amd64) arch=x86_64 ;; *) exit 1 ;; esac \
&& artifact="openshell-${arch}-unknown-linux-musl.tar.gz" \
&& curl -fsSL "https://github.com/NVIDIA/OpenShell/releases/download/v0.0.116/${artifact}" -o /tmp/openshell.tgz \
&& curl -fsSL https://github.com/NVIDIA/OpenShell/releases/download/v0.0.116/openshell-checksums-sha256.txt -o /tmp/checksums \
&& expected="$(awk -v name="$artifact" '$2 == name || $2 == "*"name {print $1}' /tmp/checksums)" \
&& test -n "$expected" \
&& printf '%s /tmp/openshell.tgz\n' "$expected" | sha256sum -c - \
&& tar -xzf /tmp/openshell.tgz -C /usr/local/bin openshell \
&& chmod +x /usr/local/bin/openshell
CMD ["node", "tests/linux-client/entry.mjs"]