body (latest)

Published 2026-09-01 02:28:09 +02:00 by daisy

Installation

docker pull forge.elephanthand.com/daisy/body:latest
sha256:0fca8b14650e097fc5f5b87cd487040ea297750a1037209a851b1c2875f60bef

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1783900800'
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 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
ENV PYTHON_VERSION=3.12.13
ENV PYTHON_SHA256=c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-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 -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; 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"]
WORKDIR /app
COPY multi:0b9d5c579ebc634db36aa5b1df316d41399fafcb7137950af22459a3b1b92b05 in /app/requirements/
/bin/sh -c pip install --no-cache-dir --constraint /app/requirements/constraints.txt --requirement /app/requirements/body.txt && pip check
COPY file:798dd824d403ea57d9fb769795f309839454599072a646a92ed1408c07de7dce in /usr/local/bin/ffmpeg
/bin/sh -c mkdir -p /app/services/brain /app/modules
COPY multi:30f276e8cfc14a7385133273f9c6964c4a92230587d9e450302ce2311b2ada6d in /app/services/
COPY dir:bbdead44657bda8e94e47012b82d9b8f3f91bb27a6deedcc6e22fd0c02063446 in /app/services/body
COPY multi:ced01dd3775deadfc7d33df7b9e4d2fb9c00d94e264f16c802f71d2c85c47867 in /app/services/brain/
COPY multi:3c2f49282034297b4fae02b00d7e76cd2cc4f09816f633d0e15177cc5152d81a in /app/configs/
COPY dir:b165d0dacfb393ce5b723b57e09d85555ea6bed5ff92036f018c99ce7bfe251b in /app/configs/prompts
COPY dir:99f2276db28ef12a52089d4acbcf5d958818fa0117727d48cf5f0e515e14cc4d in /app/schemas
COPY file:e3654faa4142a677c6378e4b7b0fe25b73ef05e06bac6c04d59101b1ab851854 in /app/modules/airplay/manifest.yaml
COPY file:01b2c83c4b06f859a90e88b211acf43e8c7e08c3524af837bda2bccf8e7fd374 in /app/modules/automaticity/manifest.yaml
COPY file:54cc1517ceb2ae059bfdabac29e4c790bcfb8f7da6fac09ade281899bac95e76 in /app/modules/automaticity-training/manifest.yaml
COPY file:d1eacb5096c20a1cdbe2bdd383cab1275a30b267d59229f4335f2fca49d8ccb3 in /app/modules/core/brain/manifest.yaml
COPY file:cb5044b1ada836a3eb186e0332713116eee1fc56a9cb16452392a0ed15eefd5c in /app/modules/core/ears/manifest.yaml
COPY file:97d688d89cc678f42688c7faa905a7dab3181cef49eb3077c8e1b41b7bf15c71 in /app/modules/core/eyes/manifest.yaml
COPY file:454839ad1efffac1fc68429ad2d7fe3d5bc034d5133fe8abd3ebddd313bb18df in /app/modules/core/memory/manifest.yaml
COPY file:c291fd5b24d3673dbbed50ae1729edad0b1dc3a4df0d5e936c7fda77518cc84d in /app/modules/core/voice/manifest.yaml
COPY file:02a345dd782ab813185facc7264fbd0142eb75add976f65a650607e4e24b7c75 in /app/modules/flower/manifest.yaml
COPY file:6a0d0c01b2c5913443e6108907fa2ac4c7c669794e4e5edcbab5f4fbb40bbe17 in /app/modules/hud/manifest.yaml
COPY file:3c4a5a52c25396976733222d5c32efee382ee6eabbb54f3505c37e54015a7bd0 in /app/modules/mood/manifest.yaml
COPY file:205bb663c21ef952158f7ca71744267c75e6d4b472d74035b38f51ed5a70fb9d in /app/modules/network-presence/manifest.yaml
COPY file:b60d9672a36f43e21d3f1f77ceef442ce6c56ed2399fa972676869927a694a02 in /app/modules/rss/manifest.yaml
COPY file:5c0128479b085823bd799064287408e997d27d76afe3d55da8642cfe63402ac6 in /app/modules/tapo-c200/manifest.yaml
COPY file:b12c7f829fc40567ae2d5d8483a017b5dd571968b0d03881e09c4fb71d70f5fd in /app/modules/weather/manifest.yaml
/bin/sh -c useradd --no-log-init --create-home --uid 12003 body && chown -R body:body /app
USER body
EXPOSE 8790
ENV BODY_HOST=0.0.0.0
ENV BODY_PORT=8790
ENV BODY_MANIFEST_GLOBS=/app/modules/**/manifest.yaml
CMD ["python", "-m", "services.body.communication.service"]
LABEL "org.opencontainers.image.revision"="2bb08d68585156dd8d19a68d57a015966e3daf5d" "org.opencontainers.image.source"="https://forge.elephanthand.com/daisy/embodied-ai"

Labels

Key Value
io.buildah.version 1.43.2
org.opencontainers.image.revision 2bb08d68585156dd8d19a68d57a015966e3daf5d
org.opencontainers.image.source https://forge.elephanthand.com/daisy/embodied-ai
Details
Container
2026-09-01 02:28:09 +02:00
10
OCI / Docker
linux/amd64
56 MiB
Versions (12) View all