Farhood Labs

trebuchet (sha-a26922a3535e5520c758af811a48138c59bdc5ae)

Published 2026-10-21 22:16:18 +00:00 by Gitea Admin in farhoodlabs/trebuchet

Installation

docker pull git.farh.net/farhoodlabs/trebuchet:sha-a26922a3535e5520c758af811a48138c59bdc5ae
sha256:eac416b708a6fd5e43c18820d850a0be41a5acd7a578d6958d6e8cd3be9658fa

Images

Digest OS / Arch Size
5587f568b0 linux/amd64 856 MiB

Image Layers ( linux/amd64)

apko
apko
apko
apko
apko
apko
apko
apko
apko
apko
apko
LABEL shannon.worker-protocol=workflow-id-v1
USER root
RUN /bin/sh -c apk update && apk add --no-cache git bash curl ca-certificates shadow xz nodejs-22 npm python3 chromium nss freetype harfbuzz libx11 libxcomposite libxdamage libxext libxfixes libxrandr mesa-gbm fontconfig # buildkit
ARG TYPST_VERSION=0.14.2
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c case "$(uname -m)" in x86_64) TYPST_ARCH=x86_64-unknown-linux-musl ;; aarch64) TYPST_ARCH=aarch64-unknown-linux-musl ;; *) echo "unsupported arch $(uname -m)" && exit 1 ;; esac && mkdir -p /tmp/typst-dl /usr/local/bin && cd /tmp/typst-dl && curl -fsSL "https://github.com/typst/typst/releases/download/v${TYPST_VERSION}/typst-${TYPST_ARCH}.tar.xz" -o typst.tar.xz && xz -d typst.tar.xz && tar -xf typst.tar && mv "typst-${TYPST_ARCH}/typst" /usr/local/bin/typst && chmod +x /usr/local/bin/typst && cd / && rm -rf /tmp/typst-dl && typst --version # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c addgroup -g 1001 pentest && adduser -u 1001 -G pentest -s /bin/bash -D pentest # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c git config --system user.email "agent@localhost" && git config --system user.name "Pentest Agent" && git config --system --add safe.directory '*' # buildkit
WORKDIR /app
COPY /app/package.json /app/pnpm-workspace.yaml /app/pnpm-lock.yaml /app/.npmrc /app/ # buildkit
COPY /app/node_modules /app/node_modules # buildkit
COPY /app/apps/worker /app/apps/worker # buildkit
COPY /app/apps/cli/package.json /app/apps/cli/package.json # buildkit
COPY LICENSE /usr/share/licenses/trebuchet/ # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c npm install -g --ignore-scripts @playwright/[email protected] # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c mkdir -p /tmp/.claude/skills && playwright-cli install --skills && cp -r .claude/skills/playwright-cli /tmp/.claude/skills/ && rm -rf .claude # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c ln -s /app/apps/worker/dist/scripts/save-deliverable.js /usr/local/bin/save-deliverable && chmod +x /app/apps/worker/dist/scripts/save-deliverable.js && ln -s /app/apps/worker/dist/scripts/generate-totp.js /usr/local/bin/generate-totp && chmod +x /app/apps/worker/dist/scripts/generate-totp.js && ln -s /app/apps/worker/dist/scripts/set-report-meta.js /usr/local/bin/set-report-meta && chmod +x /app/apps/worker/dist/scripts/set-report-meta.js # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c mkdir -p /app/sessions /app/repos /app/workspaces && mkdir -p /tmp/.cache /tmp/.config /tmp/.npm /tmp/.pi/agent && chmod 777 /app && chmod 777 /tmp/.cache && chmod 777 /tmp/.config && chmod 777 /tmp/.npm && chown -R pentest:pentest /app /tmp/.claude /tmp/.pi # buildkit
COPY entrypoint.sh /app/entrypoint.sh # buildkit
RUN |1 TYPST_VERSION=0.14.2 /bin/sh -c chmod +x /app/entrypoint.sh # buildkit
ENV NODE_ENV=production
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
ENV SHANNON_DOCKER=true
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
ENV PLAYWRIGHT_MCP_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV npm_config_cache=/tmp/.npm
ENV HOME=/tmp
ENV XDG_CACHE_HOME=/tmp/.cache
ENV XDG_CONFIG_HOME=/tmp/.config
ENTRYPOINT ["/app/entrypoint.sh"]
CMD ["node" "apps/worker/dist/temporal/worker.js"]

Labels

Key Value
dev.chainguard.image.title wolfi-base
dev.chainguard.package.main
org.opencontainers.image.authors Chainguard Team https://www.chainguard.dev/
org.opencontainers.image.created 2026-10-20T14:12:01Z
org.opencontainers.image.source https://github.com/chainguard-images/images/tree/main/images/wolfi-base
org.opencontainers.image.title wolfi-base
org.opencontainers.image.url https://images.chainguard.dev/directory/image/wolfi-base/overview
org.opencontainers.image.vendor Chainguard
shannon.worker-protocol workflow-id-v1
Details
Container
2026-10-21 22:16:18 +00:00
0
OCI / Docker
Versions (4) View all