magent (zorin-octop-1.0.1-rc23-release)
Published 2026-11-05 08:55:52 +00:00 by sunming
Installation
docker pull git.piicloud.cn/public/magent:zorin-octop-1.0.1-rc23-releasesha256:fd40c14f61e2417d1bd9c196ebe79cc91c01ab9346b029a17eafd413d3505af7
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 1b789c67a5 | linux/amd64 | 4.0 GiB |
| 530d156b4e | linux/arm64 | 3.7 GiB |
Image Layers ( linux/amd64)
| COPY / / # buildkit |
| ARG TARGETPLATFORM=linux/amd64 |
| ARG TARGETARCH=amd64 |
| LABEL maintainer=liyi Meng |
| LABEL description=A UKUI or Zorin OS Lite desktop environment (per BASE), including Docker, kubectl, sshd, xrdp, vscode and other useful tools pre-installed. Chinese locale. |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN |2 TARGETPLATFORM=linux/amd64 TARGETARCH=amd64 /bin/sh -c EXTRA_PKGS="locales tzdata xdg-user-dirs ibus ibus-gtk ibus-gtk3 ibus-gtk4 ibus-libpinyin ibus-rime dconf-cli im-config gettext chromium chromium-l10n" /bin/bash /opt/installer/install4desktop.sh # buildkit |
| RUN |2 TARGETPLATFORM=linux/amd64 TARGETARCH=amd64 /bin/sh -c locale-gen zh_CN.UTF-8 && update-locale LANG=zh_CN.UTF-8 # buildkit |
| RUN |2 TARGETPLATFORM=linux/amd64 TARGETARCH=amd64 /bin/sh -c mkdir -p /etc/dconf/profile /etc/dconf/db/local.d && printf 'user-db:user\nsystem-db:local\n' > /etc/dconf/profile/user && printf '%s\n' '[desktop/ibus/general]' "preload-engines=['xkb:us::eng','libpinyin']" "engines-order=['xkb:us::eng','libpinyin']" '' '[desktop/ibus/general/hotkey]' "triggers=['<Control>space']" > /etc/dconf/db/local.d/00-ibus && dconf update # buildkit |
| COPY bg.bmp /usr/share/xrdp/bg.bmp # buildkit |
| COPY logo.bmp /usr/share/xrdp/logo.bmp # buildkit |
| RUN |2 TARGETPLATFORM=linux/amd64 TARGETARCH=amd64 /bin/sh -c sed -i 's|#ls_title=My Login Title|ls_title=Welcome to AI|g' /etc/xrdp/xrdp.ini && sed -i 's|ls_ui=legacy|ls_ui=lvgl|g' /etc/xrdp/xrdp.ini # buildkit |
| EXPOSE [15900/tcp 22/tcp 3389/tcp 8080/tcp] |
| ENTRYPOINT ["/bin/entry.sh"] |
| CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/supervisord.conf"] |
| ARG TARGETARCH=amd64 |
| ARG TARGETPLATFORM=linux/amd64 |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c EXTRA_PKGS="code" /bin/bash /opt/installer/install-ones.sh # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg; curl -sSL https://pkgs.netbird.io/debian/public.key | gpg --dearmor -o /usr/share/keyrings/netbird-archive-keyring.gpg; chmod 0644 /usr/share/keyrings/netbird-archive-keyring.gpg; echo 'deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main' > /etc/apt/sources.list.d/netbird.list # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends skopeo ffmpeg build-essential gdb cmake clangd libssl-dev gnuplot python3 python3-venv python3-pip libgl1-mesa-dri libxcb-cursor0 libxcb-xinerama0 libportaudio2 fontconfig fonts-freefont-otf fonts-dejavu-core fonts-liberation2 fonts-lmodern fonts-wqy-zenhei xfonts-base xfonts-75dpi xfonts-100dpi iputils-ping rsync iproute2; if [ "$(dpkg --print-architecture)" = "amd64" ]; then apt-get install -y --no-install-recommends netbird netbird-ui; fi; fc-cache -f; rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; pip install --no-cache-dir --break-system-packages PyQt6 pyqtgraph sounddevice numpy scipy matplotlib python-xlib; rm -rf /root/.cache # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; EXT_DIR=/root/.vscode/extensions; for ext in llvm-vs-code-extensions.vscode-clangd ms-toolsai.jupyter ; do code --install-extension "$ext" --extensions-dir "$EXT_DIR" --user-data-dir /tmp/vscode-data --no-sandbox --force; done; rm -rf /tmp/vscode-data /root/.cache; for prefix in llvm-vs-code-extensions.vscode-clangd ms-toolsai.jupyter; do ls "$EXT_DIR" | grep -q "^${prefix}-[0-9]"; done; for prefix in ms-vscode.cpptools ms-python.python; do n="$(ls "$EXT_DIR" | grep -c "^${prefix}-[0-9]" || true)"; test "$n" -eq 1 || { echo "重复安装: $prefix 存在 $n 份" >&2; exit 1; }; done # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c set -eux; mkdir -p /opt/vscode-defaults; printf '%s\n' '{' ' "clangd.path": "/usr/bin/clangd",' ' "clangd.checkUpdates": false,' ' "C_Cpp.intelliSenseEngine": "disabled"' '}' > /opt/vscode-defaults/settings.json; python3 -c "import json; json.load(open('/opt/vscode-defaults/settings.json'))" # buildkit |
| COPY <<EOF /usr/local/bin/vpn-up # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c chmod +x /usr/local/bin/vpn-up # buildkit |
| ARG CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases |
| RUN |3 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases /bin/sh -c set -eux; mkdir -p /usr/share/claude-code/; if [ "${TARGETARCH}" = "amd64" ]; then CLAUDE_ARCH=x64; else CLAUDE_ARCH=arm64; fi; CLAUDE_VER=$(curl -kfsSL "${CLAUDE_DL_PREFIX}/latest"); curl -kfsSL --http1.1 --retry 5 --retry-all-errors --retry-delay 2 -o /usr/share/claude-code/claude "${CLAUDE_DL_PREFIX}/${CLAUDE_VER}/linux-${CLAUDE_ARCH}/claude"; chmod +x /usr/share/claude-code/claude; printf '%s' "$CLAUDE_VER" > /usr/share/claude-code/version; # buildkit |
| RUN |3 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases /bin/sh -c code --install-extension anthropic.claude-code --user-data-dir /usr/share/vscode-server/extensions --no-sandbox --force # buildkit |
| COPY claude-setup.sh /usr/share/claude-code/claude-setup.sh # buildkit |
| COPY settings.json /usr/share/claude-code/settings.json # buildkit |
| COPY skills /usr/share/claude-code/skills # buildkit |
| RUN |3 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases /bin/sh -c chmod +x /usr/share/claude-code/claude-setup.sh # buildkit |
| RUN |3 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases /bin/sh -c f=/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml; [ ! -f "$f" ] || sed -i 's|\(name="use_compositing" type="bool" value=\)"true"|\1"false"|' "$f" # buildkit |
| COPY claude.conf /etc/supervisor/conf.d/claude.conf # buildkit |
| ARG TEA_VERSION=0.15.1 |
| RUN |4 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases TEA_VERSION=0.15.1 /bin/sh -c set -eux; if [ "${TARGETARCH}" = "amd64" ]; then TEA_ARCH=amd64; else TEA_ARCH=arm64; fi; curl -fsSL --http1.1 --retry 5 --retry-all-errors --retry-delay 2 -o /usr/local/bin/tea "https://gitea.com/gitea/tea/releases/download/v${TEA_VERSION}/tea-${TEA_VERSION}-linux-${TEA_ARCH}"; chmod +x /usr/local/bin/tea; tea --version # buildkit |
| RUN |4 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases TEA_VERSION=0.15.1 /bin/sh -c set -eux; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-dev; rm -rf /var/lib/apt/lists/*; python3 -m venv /opt/octop; /opt/octop/bin/pip install --no-cache-dir uv; /opt/octop/bin/uv pip install --no-cache --python /opt/octop/bin/python octop; ln -s /opt/octop/bin/octop /usr/local/bin/octop; rm -rf /root/.cache # buildkit |
| ENV BROWSER_USE_NO_SANDBOX=1 |
| RUN |4 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 CLAUDE_DL_PREFIX=https://downloads.claude.ai/claude-code-releases TEA_VERSION=0.15.1 /bin/sh -c echo 'BROWSER_USE_NO_SANDBOX=1' >> /etc/environment # buildkit |
| EXPOSE [18789/tcp 22/tcp 3389/tcp] |
| ARG TARGETARCH=amd64 |
| ARG TARGETPLATFORM=linux/amd64 |
| COPY start-logo/ /usr/share/icons/hicolor/ # buildkit |
| RUN |2 TARGETARCH=amd64 TARGETPLATFORM=linux/amd64 /bin/sh -c gtk-update-icon-cache -f /usr/share/icons/hicolor # buildkit |
| SHELL [/bin/bash -o pipefail -c] |
| RUN /bin/bash -o pipefail -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl python3 unzip libgtk-3-0 libwebkit2gtk-4.1-0 && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/bash -o pipefail -c mkdir -p /opt/octop/vscode-extensions && cp -a /root/.vscode/extensions/. /opt/octop/vscode-extensions/ && chmod -R a+rX /opt/octop/vscode-extensions && test -n "$(find /opt/octop/vscode-extensions -maxdepth 1 -name 'anthropic.claude-code-*' -print -quit)" # buildkit |
| ARG GENOFFICE_VER=0.11.727 |
| RUN |1 GENOFFICE_VER=0.11.727 /bin/bash -o pipefail -c set -eux; if [ "$(dpkg --print-architecture)" = "amd64" ]; then apt-get update; (dpkg-query -W -f='${binary:Package} ${db:Status-Status}\n' 'libreoffice*' 2>/dev/null || true) | awk '$2 == "installed" {print $1}' | xargs -r apt-get purge -y; asset="genspark-ai/genoffice/releases/download/v${GENOFFICE_VER}/genoffice_${GENOFFICE_VER}_amd64.deb"; (curl --noproxy '*' -fsSL --retry 2 --connect-timeout 10 -o /tmp/genoffice.deb "http://nexus.tdology.com/repository/github/${asset}" || curl -fsSL --retry 5 -o /tmp/genoffice.deb "https://github.com/${asset}"); DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends /tmp/genoffice.deb; rm -f /tmp/genoffice.deb; sed -i 's|^Exec=\([^ ]*\)|Exec=\1 --no-sandbox|' /usr/share/applications/genoffice*.desktop; fi; rm -rf /var/lib/apt/lists/* # buildkit |
| ARG TARGETARCH=amd64 |
| ARG OCTOP_RELEASE_TAG=1.0.1-rc23 |
| ARG OCTOP_VERSION=1.0.3b3 |
| ARG OCTOP_RELEASE_URL=https://git.piicloud.cn/ai/Octop/releases/download |
| COPY download-release.py /tmp/download-release.py # buildkit |
| RUN |5 GENOFFICE_VER=0.11.727 TARGETARCH=amd64 OCTOP_RELEASE_TAG=1.0.1-rc23 OCTOP_VERSION=1.0.3b3 OCTOP_RELEASE_URL=https://git.piicloud.cn/ai/Octop/releases/download /bin/bash -o pipefail -c python3 /tmp/download-release.py "${OCTOP_RELEASE_URL}" "${OCTOP_RELEASE_TAG}" "${OCTOP_VERSION}" "${TARGETARCH}" /tmp/octop-release && mkdir -p /opt/octop && tar -xzf /tmp/octop-release/desktop.tar.gz -C /opt/octop && unzip -q /tmp/octop-release/portable.zip -d /tmp/octop-release && mv "/tmp/octop-release/Octop-linux-${TARGETARCH}" /opt/octop/portable && chmod +x /opt/octop/Octop /opt/octop/portable/start.sh /opt/octop/portable/runtime/bin/python3 && test -f /opt/octop/portable/packages/octop/dashboard/index.html && rm -rf /tmp/octop-release /tmp/download-release.py # buildkit |
| COPY octop-run.sh /usr/local/bin/ # buildkit |
| COPY claude-settings.py /opt/octop/claude-settings.py # buildkit |
| RUN |5 GENOFFICE_VER=0.11.727 TARGETARCH=amd64 OCTOP_RELEASE_TAG=1.0.1-rc23 OCTOP_VERSION=1.0.3b3 OCTOP_RELEASE_URL=https://git.piicloud.cn/ai/Octop/releases/download /bin/bash -o pipefail -c python3 /opt/octop/claude-settings.py /usr/share/claude-code/settings.json # buildkit |
| COPY desktop-defaults.py /opt/octop/desktop-defaults.py # buildkit |
| COPY ai-settings.json /opt/octop/ai-settings.json # buildkit |
| COPY model-defaults.py /opt/octop/model-defaults.py # buildkit |
| COPY octop.desktop /usr/share/applications/octop.desktop # buildkit |
| COPY octop.png /usr/share/icons/hicolor/512x512/apps/octop.png # buildkit |
| COPY octop-shortcut.desktop /etc/xdg/autostart/octop-shortcut.desktop # buildkit |
| COPY octop.conf /etc/supervisor/conf.d/octop.conf # buildkit |
| COPY /usr/bin/caddy /usr/local/bin/caddy # buildkit |
| COPY Caddyfile /opt/octop/Caddyfile # buildkit |
| COPY octop-caddy.sh /usr/local/bin/ # buildkit |
| COPY octop-caddy.conf /etc/supervisor/conf.d/octop-caddy.conf # buildkit |
| RUN |5 GENOFFICE_VER=0.11.727 TARGETARCH=amd64 OCTOP_RELEASE_TAG=1.0.1-rc23 OCTOP_VERSION=1.0.3b3 OCTOP_RELEASE_URL=https://git.piicloud.cn/ai/Octop/releases/download /bin/bash -o pipefail -c chmod +x /usr/local/bin/octop-run.sh /usr/local/bin/octop-caddy.sh # buildkit |
| ARG MODEL_ENV=cloud |
| COPY model-profiles/cloud.json /opt/octop/model-profile.json # buildkit |
| RUN |6 GENOFFICE_VER=0.11.727 TARGETARCH=amd64 OCTOP_RELEASE_TAG=1.0.1-rc23 OCTOP_VERSION=1.0.3b3 OCTOP_RELEASE_URL=https://git.piicloud.cn/ai/Octop/releases/download MODEL_ENV=cloud /bin/bash -o pipefail -c python3 /opt/octop/model-defaults.py # buildkit |
| ENV BROWSER_USE_NO_SANDBOX=1 |
| LABEL org.opencontainers.image.title=PiiEngine-AG cloud desktop org.opencontainers.image.version=1.0.3b3 |
| EXPOSE [18789/tcp 8443/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL curl -kfsS https://127.0.0.1:8443/api/health >/dev/null || exit 1] Interval:15s Timeout:5s StartPeriod:2m0s StartInterval:0s Retries:4} |
| ENTRYPOINT ["/bin/entry.sh"] |
| CMD ["/usr/bin/supervisord" "-c" "/etc/supervisor/supervisord.conf"] |
Labels
| Key | Value |
|---|---|
| description | A UKUI or Zorin OS Lite desktop environment (per BASE), including Docker, kubectl, sshd, xrdp, vscode and other useful tools pre-installed. Chinese locale. |
| maintainer | liyi Meng |
| org.opencontainers.image.title | PiiEngine-AG cloud desktop |
| org.opencontainers.image.version | 1.0.3b3 |
Details
2026-11-05 08:55:52 +00:00
Versions (12)
View all
Container
7
OCI / Docker
zorin-octop-halo
2026-11-06
zorin-octop
2026-11-06
ukui-octop-halo
2026-11-06
ukui-octop
2026-11-06
cn-octop-halo
2026-11-06