echomuse-controller (sha256:24a4ede9972672500e3295a6103ba4900b0dfcb3de1f700631590a776d32988f)
Published 2026-09-25 23:43:12 +02:00 by simon
Installation
docker pull git-ui.haerer.cloud/simon/echomuse-controller@sha256:24a4ede9972672500e3295a6103ba4900b0dfcb3de1f700631590a776d32988fsha256:24a4ede9972672500e3295a6103ba4900b0dfcb3de1f700631590a776d32988fAbout this package
EchoMuse controller — Echo Dot Gen 2 open-source voice assistant satellite
Image layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1782172800' |
| 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"] |
| LABEL org.opencontainers.image.source=https://github.com/wilbowes/EchoMuse org.opencontainers.image.description=EchoMuse controller — Echo Dot Gen 2 open-source voice assistant satellite |
| WORKDIR /app |
| RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends curl ffmpeg && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY requirements.txt . # buildkit |
| RUN /bin/sh -c pip install --no-cache-dir -r requirements.txt # buildkit |
| ARG GPU=0 |
| RUN |1 GPU=0 /bin/sh -c if [ "$GPU" = "1" ]; then pip uninstall -y onnxruntime && pip install --no-cache-dir onnxruntime-gpu==1.20.2; fi # buildkit |
| RUN |1 GPU=0 /bin/sh -c pip install --no-cache-dir --no-deps openwakeword==0.6.0 && python3 -c "import openwakeword; openwakeword.utils.download_models()" # buildkit |
| RUN |1 GPU=0 /bin/sh -c mkdir -p /app/static/vendor/fonts && curl -sfL -o /app/static/vendor/react.min.js https://cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.production.min.js && curl -sfL -o /app/static/vendor/react-dom.min.js https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.2.0/umd/react-dom.production.min.js && curl -sfL -o /app/static/vendor/xterm.js https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/lib/xterm.min.js && curl -sfL -o /app/static/vendor/xterm.css https://cdn.jsdelivr.net/npm/@xterm/xterm@5.5.0/css/xterm.min.css && curl -sfL -o /app/static/vendor/addon-fit.js https://cdn.jsdelivr.net/npm/@xterm/addon-fit@0.10.0/lib/addon-fit.min.js && curl -sfL -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" -o /app/static/vendor/fonts/dm-sans.woff2 "https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2" && curl -sfL -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" -o /app/static/vendor/fonts/dm-mono-400.woff2 "https://fonts.gstatic.com/s/dmmono/v16/aFTR7PB1QTsUX8KYvumzEYOtbQ.woff2" && curl -sfL -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36" -o /app/static/vendor/fonts/dm-mono-500.woff2 "https://fonts.gstatic.com/s/dmmono/v16/aFTU7PB1QTsUX8KYthqQBA.woff2" # buildkit |
| ARG EM_CONTROLLER_VERSION=2.24.0-ea.5-wakeword.1 |
| ENV EM_CONTROLLER_VERSION=2.24.0-ea.5-wakeword.1 |
| COPY em_controller.py . # buildkit |
| COPY em_api.py . # buildkit |
| COPY em_db.py . # buildkit |
| COPY em_auth.py . # buildkit |
| COPY em_eq.py . # buildkit |
| COPY em_limiter.py . # buildkit |
| COPY em_mbc.py . # buildkit |
| COPY em_scenes.py . # buildkit |
| COPY em_support.py . # buildkit |
| COPY em_shadow.py . # buildkit |
| COPY em_barge.py . # buildkit |
| COPY em_ns.py . # buildkit |
| COPY em_pki.py . # buildkit |
| COPY em_hostip.py . # buildkit |
| COPY em_ingressauth.py . # buildkit |
| COPY em_linkauth.py . # buildkit |
| COPY em_pacing.py . # buildkit |
| COPY em_platform.py . # buildkit |
| COPY em_wsclose.py . # buildkit |
| COPY em_rttlog.py . # buildkit |
| COPY em_esphome.py . # buildkit |
| COPY em_ble_health.py . # buildkit |
| COPY em_ble_proxy.py . # buildkit |
| COPY em_oww_assets.py ./ # buildkit |
| COPY em_oww_models.py . # buildkit |
| COPY em_oww_metadata.py . # buildkit |
| COPY em_oww_warmup.py . # buildkit |
| COPY em_arbiter.py . # buildkit |
| COPY em_button.py . # buildkit |
| COPY em_tap_burst.py . # buildkit |
| COPY em_player.py . # buildkit |
| COPY em_config_sections.py . # buildkit |
| COPY em_console_pw.py . # buildkit |
| COPY em_emos_build.py . # buildkit |
| COPY em_recordings.py . # buildkit |
| COPY em_wakeword_samples.py . # buildkit |
| COPY em_wakeword_api.py . # buildkit |
| COPY em_turnclock.py . # buildkit |
| COPY em_firmware.py . # buildkit |
| COPY em_announce.py . # buildkit |
| COPY em_runbarrier.py . # buildkit |
| COPY em_volume.py . # buildkit |
| COPY em_timers.py . # buildkit |
| COPY version.py . # buildkit |
| COPY esphome/ ./esphome/ # buildkit |
| COPY device_payloads/ ./device_payloads/ # buildkit |
| COPY sounds/ ./sounds/ # buildkit |
| RUN |2 GPU=0 EM_CONTROLLER_VERSION=2.24.0-ea.5-wakeword.1 /bin/sh -c mkdir -p /app/models/dtln && curl -sfL -o /app/models/dtln/model_1.onnx https://raw.githubusercontent.com/breizhn/DTLN/1de1f15a8b5b7e1c44905618ff2ef70ca8277fbc/pretrained_model/model_1.onnx && curl -sfL -o /app/models/dtln/model_2.onnx https://raw.githubusercontent.com/breizhn/DTLN/1de1f15a8b5b7e1c44905618ff2ef70ca8277fbc/pretrained_model/model_2.onnx # buildkit |
| RUN |2 GPU=0 EM_CONTROLLER_VERSION=2.24.0-ea.5-wakeword.1 /bin/sh -c mkdir -p /app/models/oww_runtime && curl -sfL -o /tmp/ort.aar https://repo1.maven.org/maven2/com/microsoft/onnxruntime/onnxruntime-android/1.19.2/onnxruntime-android-1.19.2.aar && echo "84737dd1fdb715f0ee695c0a9864f6949b66ecb4c46ca733bc9211bf0c2a7b5f /tmp/ort.aar" | sha256sum -c - && python -c "import zipfile, shutil; z = zipfile.ZipFile('/tmp/ort.aar'); shutil.copyfileobj(z.open('jni/armeabi-v7a/libonnxruntime.so'), open('/app/models/oww_runtime/libonnxruntime.so', 'wb'))" && rm /tmp/ort.aar # buildkit |
| COPY static/ ./static/ # buildkit |
| RUN |2 GPU=0 EM_CONTROLLER_VERSION=2.24.0-ea.5-wakeword.1 /bin/sh -c EARCH="$(dpkg --print-architecture)" && case "$EARCH" in amd64) EPKG=linux-x64 ;; arm64) EPKG=linux-arm64 ;; *) echo "unsupported arch: $EARCH" >&2; exit 1 ;; esac && curl -sfL -o /tmp/esbuild.tar.gz "https://registry.npmjs.org/@esbuild/${EPKG}/-/${EPKG}-0.20.2.tgz" && tar -xz -C /tmp -f /tmp/esbuild.tar.gz && install -m755 /tmp/package/bin/esbuild /usr/local/bin/esbuild && esbuild /app/static/dashboard.jsx --bundle=false --jsx=transform --jsx-factory=React.createElement --jsx-fragment=React.Fragment --outfile=/app/static/dashboard.js && rm -rf /tmp/esbuild.tar.gz /tmp/package /usr/local/bin/esbuild # buildkit |
| COPY em_cacerts.py . # buildkit |
| COPY em_start.py . # buildkit |
| CMD ["python" "-u" "em_start.py"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.description | EchoMuse controller — Echo Dot Gen 2 open-source voice assistant satellite |
| org.opencontainers.image.revision | cd0e85e153d1fa6dc58b51c62ec61653b66d54ce |
| org.opencontainers.image.source | https://github.com/wilbowes/EchoMuse |
Details
Versions (4)
View all
2.24.0-ea.5-wakeword.4
2026-10-02
2.24.0-ea.5-wakeword.3
2026-09-28
2.24.0-ea.5-wakeword.2
2026-09-25
2.24.0-ea.5-wakeword.1
2026-09-25