mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-04 13:27:11 +00:00
11 lines
692 B
Docker
11 lines
692 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 && \
|
|
rm -rf /var/lib/apt/lists/* && mkdir -p /sandbox && chown 1000:1000 /sandbox
|
|
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"]
|