jarvis-web (sha256:ac948cf3fc9fa0fbb215ab3a81a837fc5d2bba26870497f97764379e9fdd1dc9)
Published 2026-09-30 09:40:20 +00:00 by ross
Installation
docker pull git.mcwhirteronline.com/ross/jarvis-web@sha256:ac948cf3fc9fa0fbb215ab3a81a837fc5d2bba26870497f97764379e9fdd1dc9sha256:ac948cf3fc9fa0fbb215ab3a81a837fc5d2bba26870497f97764379e9fdd1dc9About this package
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Image layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1787529600' |
| RUN /bin/sh -c apt-get update -qq && apt-get install -qq --no-install-recommends ca-certificates && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin # buildkit |
| COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
| RUN /bin/sh -c mkdir -p /usr/local/bun-node-fallback-bin && ln -s /usr/local/bin/bun /usr/local/bun-node-fallback-bin/node # buildkit |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bun-node-fallback-bin |
| ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
| ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 |
| ARG BUN_INSTALL_BIN=/usr/local/bin |
| ENV BUN_INSTALL_BIN=/usr/local/bin |
| RUN |2 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 BUN_INSTALL_BIN=/usr/local/bin /bin/sh -c groupadd bun --gid 1000 && useradd bun --uid 1000 --gid bun --shell /bin/sh --create-home && ln -s /usr/local/bin/bun /usr/local/bin/bunx && which bun && which bunx && bun --version # buildkit |
| WORKDIR /home/bun/app |
| ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |
| CMD ["/usr/local/bin/bun"] |
| WORKDIR /opt/jarvis-web-prod |
| COPY --chown=bun:bun . . # buildkit |
| ENV PORT=3001 |
| EXPOSE [3001/tcp] |
| USER bun |
| CMD ["bun" "/opt/jarvis-web-prod/.output/server/index.mjs"] |
| USER root |
| RUN /bin/sh -c set -e; old='https://n8n.mcwhirteronline.com/webhook/jarvis-approval'; new='/api/approval-decision'; for f in /opt/jarvis-web-prod/.output/public/assets/usePendingApprovals-DVAcFX03.js /opt/jarvis-web-prod/.output/server/_ssr/usePendingApprovals-BKW7ibN6.mjs; do grep -q "$old" "$f"; sed -i "s#$old#$new#g" "$f"; ! grep -q 'webhook/jarvis-approval' "$f"; grep -q "$new" "$f"; chown bun:bun "$f"; done; ! grep -rl 'webhook/jarvis-approval' /opt/jarvis-web-prod/.output; bun -e ' const fs = require("fs"), crypto = require("crypto"); const root = "/opt/jarvis-web-prod/.output", key = "/assets/usePendingApprovals-DVAcFX03.js"; const body = fs.readFileSync(root + "/public" + key); const etag = `"${body.length.toString(16)}-${crypto.createHash("sha1").update(body).digest("base64").slice(0, 27)}"`; const idx = root + "/server/index.mjs"; let s = fs.readFileSync(idx, "utf8"); const start = s.indexOf(JSON.stringify(key) + ": {"); if (start < 0) throw new Error("manifest entry not found"); const end = s.indexOf("}", start); let entry = s.slice(start, end); entry = entry.replace(/"etag": "[^\n]*"/, `"etag": ${JSON.stringify(etag)}`).replace(/"size": \d+/, `"size": ${body.length}`); s = s.slice(0, start) + entry + s.slice(end); fs.writeFileSync(idx, s); const check = s.slice(start, s.indexOf("}", start)); if (!check.includes(`"size": ${body.length}`) || !check.includes(JSON.stringify(etag))) throw new Error("manifest not updated"); console.log("manifest updated:", key, "size", body.length, "etag", etag);'; chown bun:bun /opt/jarvis-web-prod/.output/server/index.mjs # buildkit |
| USER bun |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2026-09-05T05:58:20.106Z |
| org.opencontainers.image.description | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one |
| org.opencontainers.image.licenses | NOASSERTION |
| org.opencontainers.image.revision | 744846f844374847c902b5e7fd59b4342a51ef99 |
| org.opencontainers.image.source | https://github.com/oven-sh/bun |
| org.opencontainers.image.title | bun |
| org.opencontainers.image.url | https://github.com/oven-sh/bun |
| org.opencontainers.image.version | 1.4.2 |
Details
2026-09-30 09:40:20 +00:00
2026-10-26 03:52:13 +00:00
Versions (4)
View all
Container
3
OCI / Docker
linux/amd64
NOASSERTION
154 MiB