Block a user
jx3_bot (sha-ed2bec9)
Published 2026-11-02 03:13:22 +08:00 by eeymoo
Installation
docker pull git.onemue.cn/eeymoo/jx3_bot:sha-ed2bec9sha256:aaf3c73245759188e152e24f1851e1797abf79b7c6f81f23a03d7ece1aff71de
Image Layers
| ADD alpine-minirootfs-3.24.3-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV NODE_VERSION=24.22.2 |
| RUN /bin/sh -c addgroup -g 1000 node && adduser -u 1000 -G node -s /bin/sh -D node && apk add --no-cache libatomic libstdc++ && apk add --no-cache --virtual .build-deps gnupg curl && ARCH= OPENSSL_ARCH='linux*' && alpineArch="$(apk --print-arch)" && case "${alpineArch##*-}" in x86_64) ARCH='x64' OPENSSL_ARCH=linux-x86_64;; aarch64) OPENSSL_ARCH=linux-aarch64;; s390x) OPENSSL_ARCH=linux-s390x;; *) echo "unsupported architecture"; exit 1 ;; esac && export GNUPGHOME="$(mktemp -d)" && set -ex && 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 && if [ "$ARCH" = "x64" ]; then curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-$ARCH-musl.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-musl.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xJf "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" -C /usr/local --strip-components=1 --no-same-owner && rm "node-v$NODE_VERSION-linux-$ARCH-musl.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt && ln -s /usr/local/bin/node /usr/local/bin/nodejs; else echo "Building from source" && apk add --no-cache --virtual .build-deps-full binutils-gold g++ gcc libgcc linux-headers make python3 py-setuptools && curl -fsSLO --compressed "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION.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.tar.xz\$" SHASUMS256.txt | sha256sum -c - && tar -xf "node-v$NODE_VERSION.tar.xz" && cd "node-v$NODE_VERSION" && ./configure && make -j$(getconf _NPROCESSORS_ONLN) V= && make install && apk del .build-deps-full && cd .. && rm -Rf "node-v$NODE_VERSION" && rm "node-v$NODE_VERSION.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt; fi && find /usr/local/include/node/openssl/archs -mindepth 1 -maxdepth 1 ! -name "$OPENSSL_ARCH" -exec rm -rf {} \; && apk del .build-deps && node --version && npm --version && rm -rf /tmp/* # buildkit |
| ENV YARN_VERSION=1.22.22 |
| RUN /bin/sh -c apk add --no-cache --virtual .build-deps-yarn curl gnupg tar && 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 && apk del .build-deps-yarn && yarn --version && rm -rf /tmp/* # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/ # buildkit |
| ENTRYPOINT ["docker-entrypoint.sh"] |
| CMD ["node"] |
| WORKDIR /app |
| ARG NPM_REGISTRY=https://registry.npmjs.org |
| ARG APK_MIRROR=https://dl-cdn.alpinelinux.org/alpine |
| RUN |2 NPM_REGISTRY=https://registry.npmjs.org APK_MIRROR=https://dl-cdn.alpinelinux.org/alpine /bin/sh -c sed -i "s#https://dl-cdn.alpinelinux.org/alpine#${APK_MIRROR}#g" /etc/apk/repositories && apk add --no-cache ca-certificates font-wqy-zenhei su-exec python3 py3-pillow && apk add --no-cache --virtual .pip-deps py3-pip && python3 -m pip install --no-cache-dir --no-deps --break-system-packages "segno>=1.6,<2" && apk del .pip-deps && rm -rf /root/.cache /tmp/* # buildkit |
| COPY /app/dist ./dist # buildkit |
| COPY package.json ./ # buildkit |
| COPY pnpm-lock.yaml pnpm-workspace.yaml ./ # buildkit |
| COPY scripts ./scripts # buildkit |
| COPY opencode ./opencode # buildkit |
| COPY assets ./assets # buildkit |
| COPY skills ./skills # buildkit |
| COPY koishi-plugin.cjs koishi.default.yml koishi.adapter-qq.yml docker-entrypoint.sh ./ # buildkit |
| COPY /app/release ./release # buildkit |
| RUN |2 NPM_REGISTRY=https://registry.npmjs.org APK_MIRROR=https://dl-cdn.alpinelinux.org/alpine /bin/sh -c chmod +x /app/docker-entrypoint.sh && printf '# Managed by Koishi Loader.\n' > EnvFile # buildkit |
| RUN |2 NPM_REGISTRY=https://registry.npmjs.org APK_MIRROR=https://dl-cdn.alpinelinux.org/alpine /bin/sh -c npm install --global pnpm@10.18.3 && pnpm install --prod --frozen-lockfile --registry="$NPM_REGISTRY" && mkdir -p node_modules/@jx3 && cp -r release/@jx3/koishi-plugin-commands node_modules/@jx3/ && cp -r release/@jx3/koishi-plugin-agent node_modules/@jx3/ && mkdir -p node_modules/@jx3/console-client && cp dist/console/client.js dist/console/package.json node_modules/@jx3/console-client/ && rm -rf /root/.cache && rm -rf /root/.local/share/pnpm && mkdir -p /workspace && mkdir -p data/render data/icons data/ai-context && chown -R node:node data EnvFile node_modules/@jx3/console-client # buildkit |
| ENV NODE_ENV=production AI_WORKSPACE=/workspace AI_SKILLS_DIR=/app/skills JX3_DATA_DIR=/app/data JX3_ASSETS_DIR=/app/assets JX3_SKILL_RUNTIME_HOST=0.0.0.0 JX3_SKILL_RUNTIME_PORT=4098 JX3_RENDER_PYTHON=/usr/bin/python3 JX3_KOISHI_HOME=/app/data/koishi NODE_PATH=/app/data/koishi/node_modules PYTHONIOENCODING=utf-8 PYTHONUNBUFFERED=1 PYTHONUTF8=1 |
| CMD ["/app/docker-entrypoint.sh"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2026-11-01T19:04:40.934Z |
| org.opencontainers.image.description | |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | ed2bec91202f66969dfe74cdb74e9bd6b5b6b51d |
| org.opencontainers.image.source | http://10.10.3.10:3000/eeymoo/jx3_bot |
| org.opencontainers.image.title | jx3_bot |
| org.opencontainers.image.url | http://10.10.3.10:3000/eeymoo/jx3_bot |
| org.opencontainers.image.version | main |
Details
2026-11-02 03:13:22 +08:00
Versions (44)
View all
Container
0
OCI / Docker
linux/amd64
164 MiB
latest
2026-11-02
sha-ed2bec9
2026-11-02
main
2026-11-02
sha-143ed55
2026-10-23
sha-477a403
2026-10-23