Sign inSign up

anjia0532/ghcr.agent-infra.sandbox:latest

Manifest digest

sha256:6508733f117bfa34d68933472ae025f95527ac52e9b1dfbb36ebaf804c4d7f8d

OS/ARCH

linux/amd64

Compressed size

2.05 GB

Last pushed

7 months by anjia0532

Type

Image

Manifest digest

sha256:6508733f117bfa34d68933472ae025f95527ac52e9b1dfbb36ebaf804c4d7f8d

Image Layers

1ARG RELEASE0 B
2ARG LAUNCHPAD_BUILD_ARCH0 B
3LABEL org.opencontainers.image.ref.name=ubuntu0 B
4LABEL org.opencontainers.image.version=22.040 B
5ADD file ... in / 29.04 MB
6CMD ["/bin/bash"]0 B
7ARG REGION=china-north-lf0 B
8ARG TARGETARCH=amd640 B
9ENV DEBIAN_FRONTEND=noninteractive0 B
10ARG APT_MIRROR_HOST=0 B
11RUN |3 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=312.09 MB
12ARG WEBSOCAT_URL=0 B
13RUN |4 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=2.83 MB
14ARG NOVNC_URL=https://github.com/novnc/noVNC/archive/refs/tags/v1.4.0.zip0 B
15RUN |5 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=689.8 KB
16ARG BROWSER_SOURCE=rs0 B
17COPY config/browser-ctl.sh /opt/gem/browser-ctl.sh # buildkit3.9 KB
18RUN |6 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=193.79 MB
19COPY config/mcp-ctl.sh /opt/gem/mcp-ctl.sh # buildkit1.3 KB
20ARG NPM_CONFIG_REGISTRY=https://bnpm.byted.org0 B
21ARG NODEJS_SETUP_URL=https://deb.nodesource.com/setup_22.x0 B
22ARG DISABLE_MCP_SERVER=false0 B
23ARG MCP_SERVER_VERSION=1.2.210 B
24RUN |10 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=104.53 MB
25ARG PYTHON_URL=0 B
26ARG PIPX_URL=https://github.com/pypa/pipx/releases/download/1.7.1/pipx.pyz0 B
27ARG PIP_INDEX_URL=https://bytedpypi.byted.org/simple0 B
28ARG USE_SYSTEM_PYTHON=true0 B
29COPY /wheels/*.whl /tmp/wheels/ # buildkit16.56 KB
30COPY /app/requirements.txt /tmp/requirements.txt # buildkit789 B
31COPY server/ /opt/gem-server/ # buildkit83.52 KB
32RUN |14 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=30.63 MB
33RUN |14 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=970.87 KB
34RUN |14 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=664 B
35COPY config/ /opt/gem/ # buildkit16.66 KB
36RUN |14 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=1.07 KB
37ENV USER=gem0 B
38ENV USER_UID=10000 B
39ENV USER_GID=10000 B
40ENV DISPLAY=:99.00 B
41ENV DISPLAY_WIDTH=12800 B
42ENV DISPLAY_HEIGHT=7200 B
43ENV DISPLAY_DEPTH=240 B
44ENV XDG_RUNTIME_DIR=/tmp/runtime-gem0 B
45ENV BROWSER_EXECUTABLE_PATH=/usr/local/bin/browser0 B
46ENV BROWSER_REMOTE_DEBUGGING_PORT=92220 B
47ENV BROWSER_COMMANDLINE_ARGS=--disable-backgrounding-occluded-windows 0 B
48ENV BROWSER_EXTRA_ARGS=0 B
49ENV DNS_OVER_HTTPS_TEMPLATES=https://dns.alidns.com/dns-query{?dns}0 B
50ENV LOG_DIR=/var/log/gem0 B
51ENV JWT_PUBLIC_KEY=0 B
52ENV VNC_SERVER_PORT=59000 B
53ENV WEBSOCKET_PROXY_PORT=60800 B
54ENV GEM_SERVER_PORT=80880 B
55ENV MCP_SERVER_PORT=80890 B
56ENV PUBLIC_PORT=80800 B
57ENV AUTH_BACKEND_PORT=80810 B
58ENV WAIT_PORTS=0 B
59ENV WAIT_TIMEOUT=3000 B
60ENV WAIT_INTERVAL=0.250 B
61HEALTHCHECK &{["CMD-SHELL" "nc -z localhost0 B
62EXPOSE map[8080/tcp:{}]0 B
63RUN |14 REGION=china-north-lf TARGETARCH=amd64 APT_MIRROR_HOST=701 B
64ENTRYPOINT ["/opt/gem/run.sh"]0 B
65ENV MCP_HUB_PORT=80790 B
66ENV SANDBOX_SRV_PORT=80910 B
67ENV JUPYTER_LAB_PORT=88880 B
68ENV CODE_SERVER_PORT=82000 B
69ENV MCP_SERVER_BROWSER_PORT=81000 B
70ENV TINYPROXY_PORT=81180 B
71ENV WAIT_PORTS=8091,80790 B
72ENV MAX_SHELL_SESSIONS=500 B
73ARG APT_MIRROR_HOST=0 B
74ARG DISABLE_MCP_SERVER=true0 B
75ARG PIP_INDEX_URL=https://bytedpypi.byted.org/simple0 B
76ARG UV_DEFAULT_INDEX=https://bytedpypi.byted.org/simple0 B
77ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 TZ=Asia/Singapore LANGUAGE=en_US:en0 B
78ENV BROWSER_NO_SANDBOX=0 B
79ENV BROWSER_USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac0 B
80ENV DISPLAY_WIDTH=12800 B
81ENV DISPLAY_HEIGHT=10240 B
82ENV DNS_OVER_HTTPS_TEMPLATES=0 B
83ENV UV_TOOL_BIN_DIR=/usr/local/bin/0 B
84ENV UV_TOOL_DIR=/usr/local/share/uv/tools0 B
85ENV DISABLE_JUPYTER=false DISABLE_CODE_SERVER=false0 B
86RUN |4 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple507.08 MB
87RUN |4 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple1.96 MB
88ARG TINYPROXY_COMMIT=3c0fde94981b025271ffa1788ae425257841bf5a0 B
89RUN |5 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple660.83 KB
90COPY ./configs/yt-dlp /usr/local/bin/yt-dlp # buildkit2.8 MB
91RUN |5 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple2.8 MB
92COPY /uv /uvx /usr/local/bin/ #18.11 MB
93RUN |5 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple298.45 MB
94ARG GITHUB_PROXY=0 B
95ARG TARGETARCH=amd640 B
96ARG PYTHON_3_11_URL_AMD64=https://github.com/astral-sh/python-build-standalone/releases/download/20250723/cpython-3.11.13+20250723-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz0 B
97ARG PYTHON_3_11_URL_ARM64=https://github.com/astral-sh/python-build-standalone/releases/download/20250723/cpython-3.11.13+20250723-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz0 B
98ARG PYTHON_3_12_URL_AMD64=https://github.com/astral-sh/python-build-standalone/releases/download/20250723/cpython-3.12.11+20250723-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz0 B
99ARG PYTHON_3_12_URL_ARM64=https://github.com/astral-sh/python-build-standalone/releases/download/20250723/cpython-3.12.11+20250723-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz0 B
100RUN |11 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple64.21 MB
101ARG CODE_SERVER_ARCH_NAME0 B
102ARG CODE_SERVER_VERSION=4.104.00 B
103COPY ./patches/code-server-4.104.0/workbench.js.patch /tmp/code-server-4.104.0-workbench.js.patch # buildkit120.59 KB
104RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple115.11 MB
105RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple87.71 MB
106RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple39.02 MB
107RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple134 B
108COPY /root/sandbox/runtime/node/node_modules /opt/runtime/nodejs/node_modules # buildkit29.49 MB
109RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple33.34 MB
110COPY /wheels/*.whl /tmp/wheels/ # buildkit128.51 KB
111COPY /app/requirements.txt /tmp/requirements.txt # buildkit2.44 KB
112RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple220.67 MB
113RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple610 B
114RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple227 B
115COPY ./configs/tinyproxy /opt/gem/tinyproxy # buildkit454 B
116COPY ./run.sh /opt/gem/run.sh # buildkit2.62 KB
117COPY ./configs/mcp-hub.json.template /opt/gem/mcp-hub.json.template # buildkit428 B
118COPY ./configs/mcp-hub-wait.sh /opt/gem/mcp-hub-wait.sh # buildkit923 B
119COPY ./configs/code-server.sh /opt/gem/code-server.sh # buildkit447 B
120COPY ./configs/jupyter-lab.sh /opt/gem/jupyter-lab.sh # buildkit503 B
121COPY ./configs/tinyproxy.sh /opt/gem/tinyproxy.sh # buildkit278 B
122COPY ./configs/wait-for-python-server.sh /opt/gem/wait-for-python-server.sh # buildkit677 B
123COPY ./python-server/terminal.html /opt/terminal/index.html # buildkit3.43 KB
124COPY ./configs/index.html.template /opt/aio/index.html.template # buildkit7.7 KB
125COPY ./configs/bashrc /opt/gem/bashrc # buildkit177 B
126COPY ./configs/matplotlibrc /opt/gem/matplotlibrc # buildkit254 B
127COPY ./configs/vscode /opt/gem/vscode # buildkit311 B
128COPY ./configs/jupyter /opt/gem/jupyter # buildkit341 B
129COPY ./tool/cloud-providers/volcengine/ve /usr/local/bin/ve # buildkit1.28 KB
130RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple32 B
131COPY ./tool/cloud-providers/volcengine/linux_amd64_ve /usr/local/bin/linux_amd64_ve # buildkit3.73 MB
132RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple32 B
133COPY ./configs/supervisord/*.conf /opt/gem/supervisord/ # buildkit1.11 KB
134COPY ./configs/nginx/*.conf /opt/gem/nginx/ # buildkit1.05 KB
135COPY ./configs/nginx-server-port-proxy.conf.template /opt/gem/nginx-server-port-proxy.conf.template # buildkit560 B
136RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple1.46 KB
137RUN |13 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple547 B
138ARG VERSION=1.0.0.1520 B
139LABEL version=1.0.0.1520 B
140RUN |14 APT_MIRROR_HOST= DISABLE_MCP_SERVER=true PIP_INDEX_URL=https://bytedpypi.byted.org/simple145 B
141EXPOSE map[8080/tcp:{}]0 B

Command

 ARG RELEASE