gitea_admin
  • Joined on 2026-01-23

heating-can (latest)

Published 2026-10-22 18:58:16 +00:00 by gitea_admin

Installation

docker pull git.renner.uno/gitea_admin/heating-can:latest
sha256:8f8ad9eb8c1aead5e3090570c46ee42bd252b64a697367f66a6f5e441e53bc1a

About this package

open3e + E3onCAN, Viessmann E3 CAN bus readers

Image Layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1791158400'
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
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.15.0
ENV PYTHON_SHA256=ba4bed1ba346b916890b76d9e320451420aa69f6408997d33c66482eeae3d575
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 libmpdec-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"]
COPY --from=build /opt/venv /opt/venv
COPY --from=build /opt/e3oncan /opt/e3oncan
COPY supervisord.conf /etc/supervisord.conf
RUN open3e --help > /dev/null && python /opt/e3oncan/E3onCANcollect.py --help > /dev/null && supervisord --help > /dev/null && grep -q '^\[program:open3e\]' /etc/supervisord.conf && grep -q '^\[program:e3oncan\]' /etc/supervisord.conf && grep -q '^\[supervisorctl\]' /etc/supervisord.conf && supervisorctl --help > /dev/null && echo "self-test OK: both services execute; supervisord has both programs"
RUN useradd --system --no-create-home --shell /usr/sbin/nologin open3e
RUN install -d -o open3e -g open3e -m 0755 /var/lib/open3e

Labels

Key Value
org.opencontainers.image.description open3e + E3onCAN, Viessmann E3 CAN bus readers
org.opencontainers.image.source https://gitea.renner.uno/konairius/homelab
org.opencontainers.image.title heating-can
uno.renner.e3oncan.ref 461dcbdf97e8d72d2edb9929c63b39382af6c3a1
uno.renner.open3e.ref 6553c10453a6bae1210908f38a5af2481a46a3e5
Details
Container
2026-10-22 18:58:16 +00:00
69
OCI / Docker
linux/amd64
59 MiB
Versions (25) View all
2026-10-22 2026-10-22
latest 2026-10-22
2026-10-21 2026-10-21
2026-10-19 2026-10-19
2026-10-15 2026-10-15