turnstone (sha256:258ef58ac39e4d46fe7a91b37ea0cce56c9de27859a9f0425ffb784dc1e13335)
Published 2026-10-30 01:14:23 -07:00 by docwho76
Installation
docker pull forgejo.internal.nonmundane.org/docwho76/turnstone@sha256:258ef58ac39e4d46fe7a91b37ea0cce56c9de27859a9f0425ffb784dc1e13335sha256:258ef58ac39e4d46fe7a91b37ea0cce56c9de27859a9f0425ffb784dc1e13335About this package
Turnstone 1.9.1 with the Matrix channel adapter
Image layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1793059200' |
| ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV LANG=C.UTF-8 |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; apt-get dist-clean # buildkit |
| ENV PYTHON_VERSION=3.14.10 |
| ENV PYTHON_SHA256=de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 |
| RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev g++ gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev libzstd-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; case "$arch" in amd64|arm64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; i386) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; apt-get dist-clean; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit |
| RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit |
| CMD ["python3"] |
| LABEL org.opencontainers.image.title=turnstone org.opencontainers.image.description=Multi-node AI orchestration platform |
| COPY /uv /uvx /usr/local/bin/ # buildkit |
| RUN /bin/sh -c rm -f /etc/dpkg/dpkg.cfg.d/docker # buildkit |
| RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libpq5 git curl jq man-db manpages procps file ripgrep ffmpeg tini && for p in curl libcurl4t64 libcurl3t64-gnutls; do dpkg --compare-versions "$(dpkg-query -W -f='${Version}' "$p")" ge 8.14.1-2+deb13u7 || { echo "$p is older than 8.14.1-2+deb13u7" >&2; exit 1; }; done && { dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ca-certificates)" ge 20250419+deb13u1 || { echo "ca-certificates is older than 20250419+deb13u1" >&2; exit 1; }; } && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c uv pip install --python /usr/local/bin/python3 --system "pip>=26.2.2" # buildkit |
| COPY /usr/local/bin/node /usr/local/bin/node # buildkit |
| COPY /usr/local/lib/node_modules /usr/local/lib/node_modules # buildkit |
| RUN /bin/sh -c ln -s ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && ln -s ../lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx # buildkit |
| ENV NODE_OPTIONS=--use-openssl-ca |
| RUN /bin/sh -c useradd --create-home --shell /bin/bash turnstone # buildkit |
| WORKDIR /app |
| COPY pyproject.toml uv.lock README.md LICENSE NOTICE THIRD-PARTY-NOTICES ./ # buildkit |
| RUN /bin/sh -c uv sync --frozen --no-install-project --no-dev --no-compile --extra all # buildkit |
| COPY turnstone/ turnstone/ # buildkit |
| RUN /bin/sh -c uv sync --frozen --no-dev --no-compile --extra all # buildkit |
| RUN /bin/sh -c python -m compileall -q .venv turnstone/ # buildkit |
| ENV PATH=/app/.venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY docker/healthcheck.py /usr/local/bin/healthcheck.py # buildkit |
| COPY docker/entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit |
| WORKDIR /data |
| RUN /bin/sh -c chown turnstone:turnstone /data # buildkit |
| RUN /bin/sh -c mkdir -p /workspace && chown turnstone:turnstone /workspace # buildkit |
| ENV TURNSTONE_WORKSPACE=/workspace |
| USER turnstone |
| ENTRYPOINT ["tini" "--" "entrypoint.sh"] |
| CMD ["turnstone-server" "--host" "0.0.0.0" "--port" "8080"] |
Labels
| Key | Value |
|---|---|
| org.nonmundane.turnstone.patches.sha256 | 8c88b4c26a95ded6df5e80162534481721b8cd156ebdfc29f8577d2534118a49 |
| org.opencontainers.image.description | Turnstone 1.9.1 with the Matrix channel adapter |
| org.opencontainers.image.revision | 713b0158687aaef683acb3c7e814a4532dcacbf9 |
| org.opencontainers.image.source | https://github.com/turnstonelabs/turnstone |
| org.opencontainers.image.title | turnstone |
| org.opencontainers.image.version | 1.9.1 |
Details
2026-10-30 01:14:23 -07:00
2026-11-06 22:04:31 -08:00
Versions (6)
View all
Container
14
OCI / Docker
linux/amd64
506 MiB
1.9.4-matrix-5127209
2026-11-10
1.9.3-matrix-cc4c559
2026-11-07
1.9.2-matrix-0fd1998
2026-10-31
1.9.1-matrix-9206559
2026-10-30
1.8.7-matrix-155d1c4
2026-10-15