paseo (20261120)

Published 2026-11-20 03:29:09 +01:00 by bdeb

Installation

docker pull git.b0b.be/bdeb/paseo:20261120
sha256:c7125f21ec9de144b95c2b1e339a0b9efc6594399657e010704b0d8d24119e5d

Image Layers

# debian.sh --arch 'amd64' out/ 'bookworm' '@1793827419'
RUN /bin/sh -c groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node # buildkit
ENV NODE_VERSION=22.23.5
RUN /bin/sh -c ARCH= OPENSSL_ARCH= && dpkgArch="$(dpkg --print-architecture)" && case "${dpkgArch##*-}" in amd64) ARCH='x64' OPENSSL_ARCH='linux-x86_64';; ppc64el) ARCH='ppc64le' OPENSSL_ARCH='linux-ppc64le';; arm64) ARCH='arm64' OPENSSL_ARCH='linux-aarch64';; armhf) ARCH='armv7l' OPENSSL_ARCH='linux-armv4';; *) echo "unsupported architecture"; exit 1 ;; esac && set -ex && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr xz-utils libatomic1 --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 5BE8A3F6C8A5C01D106C0AD820B1A390B168D356 DD792F5973C6DE52C432CBDAC77ABFA00DDBF2B7 CC68F5A3106FF448322E48ED27F5E38D5B0A215F 890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C 108F52B48DB57BB0CC439B2997B01419BD92F80A 655F3B5C1FB3FA8D1A0CA6BDE4A7D232B936D2FD A363A499291CBBC940DD62E41F10027AF002F8B0 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH.tar.xz" && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/SHASUMS256.txt.asc" && gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc && gpgconf --kill all && rm -rf "$GNUPGHOME" && grep " node-v$NODE_VERSION-linux-$ARCH.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apt-mark auto '.*' > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && ln -s /usr/local/bin/node /usr/local/bin/nodejs && node --version && npm --version && rm -rf /tmp/* # buildkit
ENV YARN_VERSION=1.22.22
RUN /bin/sh -c set -ex && savedAptMark="$(apt-mark showmanual)" && apt-get update && apt-get install -y ca-certificates curl wget gnupg dirmngr --no-install-recommends && rm -rf /var/lib/apt/lists/* && export GNUPGHOME="$(mktemp -d)" && for key in 6A010C5166006599AA17F08146C2130DFD2497F5 ; do { gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" && gpg --batch --fingerprint "$key"; } || { gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key" && gpg --batch --fingerprint "$key"; } ; done && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" && curl -fsSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && gpgconf --kill all && rm -rf "$GNUPGHOME" && mkdir -p /opt && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/ && ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn && ln -s /opt/yarn-v$YARN_VERSION/bin/yarnpkg /usr/local/bin/yarnpkg && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz && apt-mark auto '.*' > /dev/null && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && yarn --version && rm -rf /tmp/* # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["node"]
ENV HOME=/home/paseo PASEO_HOME=/home/paseo/.paseo PASEO_LISTEN=0.0.0.0:6767 PASEO_WEB_UI_ENABLED=true PASEO_LOG_FORMAT=json PASEO_LOG_LEVEL=info CLAUDE_CONFIG_DIR=/home/paseo/.claude CODEX_HOME=/home/paseo/.codex XDG_CONFIG_HOME=/home/paseo/.config XDG_DATA_HOME=/home/paseo/.local/share XDG_STATE_HOME=/home/paseo/.local/state XDG_CACHE_HOME=/home/paseo/.cache ONNXRUNTIME_NODE_INSTALL=skip
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bash ca-certificates curl git gosu lbzip2 openssh-client procps tini; rm -rf /var/lib/apt/lists/* # buildkit
COPY /tmp/paseo-packs /tmp/paseo-packs # buildkit
RUN /bin/sh -c set -eux; npm install -g /tmp/paseo-packs/*.tgz; rm -rf /tmp/paseo-packs; npm cache clean --force; server_entry="$(npm root -g)/@getpaseo/server/dist/scripts/supervisor-entrypoint.js"; test -f "$server_entry"; printf '%s\n' "$server_entry" > /etc/paseo-server-entry; node --check "$server_entry" # buildkit
RUN /bin/sh -c set -eux; existing_group="$(getent group 1000 | cut -d: -f1 || true)"; if [ -n "$existing_group" ] && [ "$existing_group" != "paseo" ]; then groupmod --new-name paseo "$existing_group"; elif [ -z "$existing_group" ]; then groupadd --gid 1000 paseo; fi; existing_user="$(getent passwd 1000 | cut -d: -f1 || true)"; if [ -n "$existing_user" ] && [ "$existing_user" != "paseo" ]; then usermod --login paseo --gid paseo --home /home/paseo --shell /bin/bash "$existing_user"; elif [ -z "$existing_user" ]; then useradd --uid 1000 --gid paseo --create-home --home-dir /home/paseo --shell /bin/bash paseo; fi; mkdir -p /workspace "$PASEO_HOME" "$CLAUDE_CONFIG_DIR" "$CODEX_HOME" "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME" "$XDG_CACHE_HOME"; chown -R paseo:paseo /home/paseo /workspace # buildkit
COPY docker/base/rootfs/ / # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/paseo-docker-entrypoint # buildkit
WORKDIR /workspace
EXPOSE [6767/tcp]
VOLUME [/home/paseo]
HEALTHCHECK {Test:[CMD-SHELL node -e "const listen=process.env.PASEO_LISTEN||'0.0.0.0:6767'; const m=listen.match(/:(\\d+)$/); const port=m?Number(m[1]):6767; require('http').get({hostname:'127.0.0.1',port,path:'/api/health'},r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))"] Interval:30s Timeout:5s StartPeriod:30s StartInterval:0s Retries:3}
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/paseo-docker-entrypoint"]
USER root
SHELL [/bin/bash -euo pipefail -c]
ARG DEBIAN_FRONTEND=noninteractive
ENV GOPATH=/home/paseo/go CARGO_HOME=/home/paseo/.cargo RUSTUP_HOME=/home/paseo/.rustup BUN_INSTALL=/home/paseo/.bun JAVA_HOME=/opt/java GHIDRA_HOME=/opt/ghidra PATH=/home/paseo/.local/bin:/home/paseo/.cargo/bin:/home/paseo/.bun/bin:/home/paseo/go/bin:/opt/java/bin:/opt/ghidra/support:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin DISABLE_AUTOUPDATER=1 EDITOR=nvim VISUAL=nvim PASEO_SERVER_BROWSER_EXECUTABLE=/usr/bin/chromium
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c . /etc/os-release && install -d -m 0755 /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg -o /etc/apt/keyrings/githubcli.gpg && chmod a+r /etc/apt/keyrings/* && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $VERSION_CODENAME stable" > /etc/apt/sources.list.d/docker.list && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list && apt-get update && apt-get install -y --no-install-recommends docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin iptables iproute2 openssh-server gh jq ripgrep less unzip xz-utils build-essential pkg-config libssl-dev python3 python3-venv neovim vim nano fish tmux htop tree file procps psmisc lsof strace rsync zip sqlite3 gdb gdbserver binutils elfutils patchelf bind9-dnsutils iputils-ping netcat-openbsd telnet socat tcpdump mtr-tiny traceroute wget openssl chromium fonts-liberation fonts-noto-color-emoji xfce4 xfce4-terminal dbus-x11 libglib2.0-bin xvfb x11vnc novnc websockify xdotool wmctrl x11-utils at-spi2-core && rm -rf /var/lib/apt/lists/* /etc/ssh/ssh_host_* # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c arch=$(dpkg --print-architecture) && release=$(curl -fsSL https://api.github.com/repos/radareorg/radare2/releases/latest) && tag=$(jq -r .tag_name <<<"$release") && name="radare2_${tag}_${arch}.deb" && asset=$(jq -r --arg name "$name" '.assets[] | select(.name == $name) | @base64' <<<"$release") && [ -n "$asset" ] && url=$(base64 -d <<<"$asset" | jq -r .browser_download_url) && sha=$(base64 -d <<<"$asset" | jq -r '.digest | sub("^sha256:"; "")') && curl -fsSL -o /tmp/radare2.deb "$url" && echo "$sha /tmp/radare2.deb" | sha256sum -c - && apt-get update && apt-get install -y --no-install-recommends /tmp/radare2.deb && rm -rf /tmp/radare2.deb /var/lib/apt/lists/* && radare2 -v # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c arch=$(dpkg --print-architecture) && read -r file sum < <(curl -fsSL 'https://go.dev/dl/?mode=json' | jq -r --arg a "$arch" '[.[] | select(.stable)][0].files[] | select(.os=="linux" and .arch==$a and .kind=="archive") | "\(.filename) \(.sha256)"') && curl -fsSL -o "/tmp/$file" "https://go.dev/dl/$file" && echo "$sum /tmp/$file" | sha256sum -c - && tar -C /usr/local -xzf "/tmp/$file" && rm "/tmp/$file" && lint_release=$(curl -fsSL https://api.github.com/repos/golangci/golangci-lint/releases/latest) && lint_tag=$(jq -r .tag_name <<<"$lint_release") && lint_name="golangci-lint-${lint_tag#v}-linux-$arch.tar.gz" && lint_asset=$(jq -r --arg name "$lint_name" '.assets[] | select(.name == $name) | @base64' <<<"$lint_release") && [ -n "$lint_asset" ] && lint_url=$(base64 -d <<<"$lint_asset" | jq -r .browser_download_url) && lint_sha=$(base64 -d <<<"$lint_asset" | jq -r '.digest | sub("^sha256:"; "")') && curl -fsSL -o /tmp/golangci-lint.tar.gz "$lint_url" && echo "$lint_sha /tmp/golangci-lint.tar.gz" | sha256sum -c - && tar -xzf /tmp/golangci-lint.tar.gz -C /tmp && install -m 0755 "/tmp/golangci-lint-${lint_tag#v}-linux-$arch/golangci-lint" /usr/local/bin/golangci-lint && rm -rf /tmp/golangci-lint.tar.gz "/tmp/golangci-lint-${lint_tag#v}-linux-$arch" && golangci-lint --version # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c arch=$(dpkg --print-architecture) && case "$arch" in amd64) java_arch=x64;; arm64) java_arch=aarch64;; *) echo "unsupported Java arch: $arch" >&2; exit 1;; esac && curl -fsSL -o /tmp/jdk.tar.gz "https://api.adoptium.net/v3/binary/latest/25/ga/linux/$java_arch/jdk/hotspot/normal/eclipse" && mkdir -p /opt/java && tar -xzf /tmp/jdk.tar.gz -C /opt/java --strip-components=1 && rm /tmp/jdk.tar.gz && java -version && curl -fsSL https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin sh && uv --version && ghidra_release=$(curl -fsSL https://api.github.com/repos/NationalSecurityAgency/ghidra/releases/latest) && ghidra_url=$(jq -r '.assets[] | select(.name | endswith(".zip")) | .browser_download_url' <<<"$ghidra_release") && ghidra_sha=$(jq -r '.assets[] | select(.name | endswith(".zip")) | .digest | sub("^sha256:"; "")' <<<"$ghidra_release") && curl -fsSL -o /tmp/ghidra.zip "$ghidra_url" && echo "$ghidra_sha /tmp/ghidra.zip" | sha256sum -c - && unzip -q /tmp/ghidra.zip -d /opt && rm /tmp/ghidra.zip && ghidra_dir=$(find /opt -mindepth 1 -maxdepth 1 -type d -name 'ghidra_*_PUBLIC' -print -quit) && [ -n "$ghidra_dir" ] && mv "$ghidra_dir" /opt/ghidra && [ -x /opt/ghidra/support/analyzeHeadless ] && ln -s /opt/ghidra/ghidraRun /usr/local/bin/ghidraRun && jython_zip=$(find /opt/ghidra/Extensions/Ghidra -maxdepth 1 -name '*_Jython.zip' -print -quit) && if [ -n "$jython_zip" ]; then mkdir -p /opt/ghidra/Ghidra/Extensions; unzip -q "$jython_zip" -d /opt/ghidra/Ghidra/Extensions; fi && git clone -q --depth 1 --branch chore/ghidra-12.2 https://github.com/bethington/ghidra-mcp.git /tmp/ghidra-mcp && git -C /tmp/ghidra-mcp rev-parse HEAD > /opt/ghidra/GHIDRA_MCP_REVISION && cd /tmp/ghidra-mcp && ./gradlew --no-daemon buildExtension -PGHIDRA_INSTALL_DIR=/opt/ghidra && mkdir -p /opt/ghidra/Ghidra/Extensions && unzip -q build/distributions/GhidraMCP-*.zip -d /opt/ghidra/Ghidra/Extensions && grep -q '^version=12.2$' /opt/ghidra/Ghidra/Extensions/GhidraMCP/extension.properties && mcp_jar=$(find /opt/ghidra/Ghidra/Extensions/GhidraMCP/lib -maxdepth 1 -name 'GhidraMCP-*.jar' -print -quit) && [ -n "$mcp_jar" ] && ln -s "$(basename "$mcp_jar")" /opt/ghidra/Ghidra/Extensions/GhidraMCP/lib/GhidraMCP.jar && jar tf /opt/ghidra/Ghidra/Extensions/GhidraMCP/lib/GhidraMCP.jar | grep -q 'com/xebyte/headless/GhidraMCPHeadlessServer.class' && UV_TOOL_DIR=/opt/uv/tools UV_TOOL_BIN_DIR=/usr/local/bin UV_CACHE_DIR=/tmp/uv-cache uv tool install --python python3 /tmp/ghidra-mcp && cd / && rm -rf /tmp/ghidra-mcp /root/.gradle && rm -rf /tmp/uv-cache && bridge-mcp-ghidra --help >/dev/null # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c arch=$(dpkg --print-architecture) && [ "$arch" = amd64 ] || { echo "unsupported target architecture: $arch (paseo-image targets x86_64)" >&2; exit 1; } && release=$(curl -fsSL https://api.github.com/repos/Noelo-Lab/kuna/releases/latest) && tag=$(jq -r .tag_name <<<"$release") && asset=$(jq -r '.assets[] | select(.name | endswith("-linux-x86_64-musl.tar.gz")) | @base64' <<<"$release") && url=$(base64 -d <<<"$asset" | jq -r .browser_download_url) && sha=$(base64 -d <<<"$asset" | jq -r '.digest | sub("^sha256:"; "")') && curl -fsSL -o /tmp/kuna.tar.gz "$url" && echo "$sha /tmp/kuna.tar.gz" | sha256sum -c - && mkdir /tmp/kuna && tar -xzf /tmp/kuna.tar.gz -C /tmp/kuna --strip-components=1 && install -m 0755 /tmp/kuna/kuna /usr/local/bin/kuna && rm -rf /tmp/kuna /tmp/kuna.tar.gz && echo "$tag" > /opt/KUNA_RELEASE && kuna --help >/dev/null # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c mkdir -p /opt/paseo-skills && git clone -q --depth 1 https://github.com/ioma8/ghidra-decompile-skill.git /tmp/ghidra-decompile-skill && mv /tmp/ghidra-decompile-skill /opt/paseo-skills/ghidra-decompile && git clone -q --depth 1 https://github.com/ioma8/hypothesis-debugging.git /tmp/hypothesis-debugging && mv /tmp/hypothesis-debugging/skills/hypothesis-debugging /opt/paseo-skills/hypothesis-debugging && rm -rf /tmp/hypothesis-debugging && git clone -q --depth 1 https://github.com/mattpocock/skills.git /tmp/mattpocock-skills && mv /tmp/mattpocock-skills/skills/productivity/grill-me /opt/paseo-skills/grill-me && mv /tmp/mattpocock-skills/skills/productivity/grilling /opt/paseo-skills/grilling && rm -rf /tmp/mattpocock-skills && git clone -q --depth 1 https://github.com/DietrichGebert/ponytail.git /tmp/ponytail && for skill in ponytail ponytail-review ponytail-audit ponytail-debt ponytail-gain ponytail-help; do mv "/tmp/ponytail/skills/$skill" "/opt/paseo-skills/$skill"; done && rm -rf /tmp/ponytail && git clone -q --depth 1 https://github.com/Jeffallan/claude-skills.git /tmp/claude-skills && mv /tmp/claude-skills/skills/golang-pro /opt/paseo-skills/golang-pro && rm -rf /tmp/claude-skills && git clone -q --depth 1 https://github.com/agent-sh/computer-use-linux.git /tmp/computer-use-linux && mv /tmp/computer-use-linux/skills/computer-use-linux /opt/paseo-skills/computer-use-linux && rm -rf /tmp/computer-use-linux && mkdir -p /opt/paseo-skills/kuna-decompiler && kuna install-skill --print > /opt/paseo-skills/kuna-decompiler/SKILL.md && grep -q '^name: kuna-decompiler$' /opt/paseo-skills/kuna-decompiler/SKILL.md # buildkit
USER root
SHELL [/bin/bash -euo pipefail -c]
ARG DEBIAN_FRONTEND=noninteractive
ENV npm_config_fetch_timeout=120000 npm_config_fetch_retries=3
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c export HOME=/root npm_config_cache=/tmp/npm && npmi() { npm install -g --no-fund --no-audit --loglevel=http --foreground-scripts "$@" && rm -rf /tmp/npm; } && npmi --loglevel=error npm@latest && npmi --allow-scripts=@opencode/cli @opencode/cli && rm -rf /usr/local/lib/node_modules/@opencode/cli/node_modules/@opencode/cli-* && opencode --version && find /home/paseo -mindepth 1 -delete # buildkit
USER root
SHELL [/bin/bash -euo pipefail -c]
ENV npm_config_fetch_timeout=120000 npm_config_fetch_retries=3
RUN /bin/bash -euo pipefail -c export HOME=/root npm_config_cache=/tmp/npm && npm install -g --no-fund --no-audit --loglevel=http --foreground-scripts --allow-scripts=@anthropic-ai/claude-code @anthropic-ai/claude-code && rm -rf /tmp/npm && claude --version && find /home/paseo -mindepth 1 -delete # buildkit
USER root
SHELL [/bin/bash -euo pipefail -c]
ENV npm_config_fetch_timeout=120000 npm_config_fetch_retries=3
RUN /bin/bash -euo pipefail -c export HOME=/root npm_config_cache=/tmp/npm && npm install -g --no-fund --no-audit --loglevel=http --foreground-scripts @github/copilot && rm -rf /tmp/npm && copilot --version && find /home/paseo -mindepth 1 -delete # buildkit
USER root
SHELL [/bin/bash -euo pipefail -c]
COPY /usr/local/lib/node_modules/@openai/ /usr/local/lib/node_modules/@openai/ # buildkit
COPY /usr/local/lib/node_modules/@agent-sh/ /usr/local/lib/node_modules/@agent-sh/ # buildkit
COPY /usr/local/lib/node_modules/skills/ /usr/local/lib/node_modules/skills/ # buildkit
RUN /bin/bash -euo pipefail -c ln -sf ../lib/node_modules/@openai/codex/bin/codex.js /usr/local/bin/codex && ln -sf ../lib/node_modules/@agent-sh/computer-use-linux/npm/bin/computer-use-linux.js /usr/local/bin/computer-use-linux && ln -sf ../lib/node_modules/skills/bin/cli.mjs /usr/local/bin/skills && codex --version && computer-use-linux --help >/dev/null && skills --version && find /home/paseo -mindepth 1 -delete # buildkit
USER root
SHELL [/bin/bash -euo pipefail -c]
ARG DEBIAN_FRONTEND=noninteractive
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c mkdir -p /opt/cursor && curl -fsSL https://cursor.com/install | env -u XDG_CONFIG_HOME -u XDG_DATA_HOME -u XDG_STATE_HOME -u XDG_CACHE_HOME HOME=/opt/cursor bash && ln -sf /opt/cursor/.local/bin/cursor-agent /usr/local/bin/cursor-agent && ln -sf /opt/cursor/.local/bin/agent /usr/local/bin/agent && chown -R paseo:paseo /opt/cursor # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c tag=$(curl -fsSL https://api.github.com/repos/Javis603/token-monitor/releases/latest | jq -r .tag_name) && mkdir -p /opt/token-monitor && curl -fsSL "https://github.com/Javis603/token-monitor/archive/refs/tags/$tag.tar.gz" | tar xz -C /opt/token-monitor --strip-components=1 && echo "$tag" > /opt/token-monitor/RELEASE && cd /opt/token-monitor && export HOME=/root npm_config_cache=/tmp/npm && npm ci --omit=dev --no-fund --no-audit --loglevel=error && npm run --silent ensure:tokscale && rm -rf /tmp/npm && chown -R paseo:paseo /opt/token-monitor # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c usermod -aG docker,tty paseo # buildkit
COPY rootfs/ / # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c env | grep -E '^(PATH|GOPATH|CARGO_HOME|RUSTUP_HOME|BUN_INSTALL|JAVA_HOME|GHIDRA_HOME|DISABLE_AUTOUPDATER|EDITOR|VISUAL|PASEO_SERVER_BROWSER_EXECUTABLE)=' | sed 's/^/export /' > /etc/profile.d/paseo-toolchains.sh && chmod 755 /usr/local/bin/paseo-sandbox-start /usr/local/bin/paseo-plugin-add /usr/local/bin/paseo-agent-setup /usr/local/bin/ghidra-mcp-register /usr/local/bin/ghidra-mcp-headless /usr/local/bin/computer-use-mcp-register /usr/local/bin/computer-use-linux-mcp /usr/local/bin/paseo-desktop-start && rm -rf /home/paseo && mkdir -p /home/paseo && chown paseo:paseo /home/paseo && install -d -o paseo -g paseo -m 0700 /tmp/paseo-agent-smoke && gosu paseo env XDG_CACHE_HOME=/tmp/paseo-agent-smoke/cache XDG_STATE_HOME=/tmp/paseo-agent-smoke/state XDG_DATA_HOME=/tmp/paseo-agent-smoke/data bash -c 'echo "claude $(claude --version) | codex $(codex --version) | opencode $(opencode --version)"; echo "copilot $(copilot --version | head -1) | cursor-agent $(cursor-agent --version)"; echo "$(go version) | node $(node --version) | npm $(npm --version) | token-monitor $(cat /opt/token-monitor/RELEASE)"; echo "$(docker --version) | $(docker buildx version) | $(docker compose version) | $(gh --version | head -1)"; echo "computer-use-linux $(jq -r .version /usr/local/lib/node_modules/@agent-sh/computer-use-linux/package.json)"; echo "ghidra 12.2 | $(radare2 -v | head -1) | kuna $(cat /opt/KUNA_RELEASE) | java $(java -version 2>&1 | head -1)"' && rm -rf /tmp/paseo-agent-smoke /home/paseo && mkdir -p /home/paseo && chown paseo:paseo /home/paseo # buildkit
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/bash -euo pipefail -c bash -n /usr/local/bin/paseo-sandbox-start && bash -n /usr/local/bin/paseo-plugin-add && bash -n /usr/local/bin/paseo-agent-setup && bash -n /usr/local/bin/ghidra-mcp-register && bash -n /usr/local/bin/ghidra-mcp-headless && bash -n /usr/local/bin/computer-use-mcp-register && bash -n /usr/local/bin/computer-use-linux-mcp && bash -n /usr/local/bin/paseo-desktop-start && ssh-keygen -q -t ed25519 -N "" -f /tmp/hostkey && sed 's|^HostKey .*|HostKey /tmp/hostkey|' /etc/ssh/sshd_paseo.conf > /tmp/sshd_test.conf && mkdir -p /run/sshd && /usr/sbin/sshd -t -f /tmp/sshd_test.conf && rm -rf /tmp/hostkey* /tmp/sshd_test.conf /run/sshd && for c in paseo claude codex opencode copilot cursor-agent agent go node docker dockerd gh nvim vim vi nano fish dig ping nc telnet chromium uv bridge-mcp-ghidra analyzeHeadless ghidraRun radare2 kuna gdb gdbserver objdump readelf golangci-lint computer-use-linux Xvfb x11vnc websockify xdotool wmctrl startxfce4; do command -v "$c" >/dev/null || { echo "missing: $c"; exit 1; }; done && install -d -o paseo -g paseo -m 0700 /tmp/paseo-agent-smoke && for c in claude codex opencode copilot cursor-agent; do out=$(gosu paseo env XDG_CACHE_HOME=/tmp/paseo-agent-smoke/cache XDG_STATE_HOME=/tmp/paseo-agent-smoke/state XDG_DATA_HOME=/tmp/paseo-agent-smoke/data "$c" --version 2>&1) || { echo "broken: $c --version"; echo "$out"; exit 1; }; done && rm -rf /tmp/paseo-agent-smoke && [ -f /opt/ghidra/Ghidra/Extensions/GhidraMCP/lib/GhidraMCP.jar ] && grep -q '^version=12.2$' /opt/ghidra/Ghidra/Extensions/GhidraMCP/extension.properties && for skill in ghidra-decompile hypothesis-debugging grill-me grilling kuna-decompiler ponytail ponytail-review ponytail-audit ponytail-debt ponytail-gain ponytail-help golang-pro computer-use-linux; do test -s "/opt/paseo-skills/$skill/SKILL.md"; done && for ref in concurrency generics interfaces project-structure testing; do test -s "/opt/paseo-skills/golang-pro/references/$ref.md"; done && install -d -o paseo -g paseo -m 0700 /home/paseo/.cache /home/paseo/.cache/ghidramcp /home/paseo/.codex /home/paseo/.config /home/paseo/.config/ghidra /home/paseo/.local /home/paseo/.local/share /home/paseo/.local/state && gosu paseo env HOME=/home/paseo paseo-agent-setup && gosu paseo env HOME=/home/paseo ghidra-mcp-register && gosu paseo env HOME=/home/paseo DISPLAY=:99 XDG_RUNTIME_DIR=/tmp computer-use-mcp-register && jq -e '.mcp.servers["ghidra-mcp"].type == "local"' /home/paseo/.config/opencode/opencode.json >/dev/null && jq -e '.mcp.servers["computer-use-linux"].type == "local"' /home/paseo/.config/opencode/opencode.json >/dev/null && gosu paseo env HOME=/home/paseo bash -c 'ghidra-mcp-headless >/tmp/ghidra-mcp-build.log 2>&1 & pid=$!; trap "kill $pid 2>/dev/null || true; wait $pid 2>/dev/null || true" EXIT; for _ in $(seq 1 60); do curl -fsS http://127.0.0.1:8089/check_connection >/dev/null 2>&1 && exit 0; sleep 1; done; cat /tmp/ghidra-mcp-build.log; exit 1' && find /home/paseo -mindepth 1 -delete && docker buildx version >/dev/null && docker compose version >/dev/null && id paseo | grep -q '(docker)' && id paseo | grep -q '(tty)' && echo "smoke test ok" # buildkit
EXPOSE 2223/tcp 6080/tcp
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/paseo-sandbox-start"]

Labels

Key Value
org.opencontainers.image.revision dd4370c8be01da33dc85300ae1f76f8999b11129
org.opencontainers.image.source https://git.b0b.be/bdeb/paseo-image
Details
Container
2026-11-20 03:29:09 +01:00
0
OCI / Docker
linux/amd64
2.6 GiB
Versions (8) View all
20261120 2026-11-20
latest 2026-11-20
codex 2026-11-20
copilot 2026-11-20
claude 2026-11-20