| # debian.sh --arch 'amd64' out/ 'bookworm' '@1740355200' |
| ARG VERSION=2.31.2 |
| ARG CHANNEL=stable |
| ARG TARGETPLATFORM=linux/amd64 |
| ARG BUILDPLATFORM=linux/amd64 |
| ENV DEBIAN_FRONTEND=noninteractive DECONZ_VERSION=2.31.2 DECONZ_WEB_PORT=80 DECONZ_WS_PORT=443 DEBUG_INFO=1 DEBUG_APS=0 DEBUG_ZCL=0 DEBUG_ZDP=0 DEBUG_DDF=0 DEBUG_DEV=0 DEBUG_OTA=0 DEBUG_ERROR=0 DEBUG_HTTP=0 DECONZ_DEV_TEST_MANAGED=0 DECONZ_DEVICE=0 DECONZ_VNC_MODE=0 DECONZ_VNC_DISPLAY=0 DECONZ_VNC_DISABLE_PASSWORD=0 DECONZ_VNC_PASSWORD=changeme DECONZ_VNC_PASSWORD_FILE=0 DECONZ_VNC_PORT=5900 DECONZ_NOVNC_PORT=6080 DECONZ_UPNP=1 DECONZ_UID=1000 DECONZ_GID=1000 DECONZ_START_VERBOSE=0 DECONZ_BAUDRATE=0 DECONZ_APPDATA_DIR=/opt/deCONZ NON_ROOT=0 |
| RUN |4 VERSION=2.31.2 CHANNEL=stable TARGETPLATFORM=linux/amd64 BUILDPLATFORM=linux/amd64 /bin/sh -c apt-get update && apt-get install -y gosu curl kmod udev libatomic1 libcap2-bin libqt5core5a libqt5gui5 libqt5network5 libqt5serialport5 libqt5sql5 libqt5websockets5 libqt5widgets5 libqt5qml5 libssl3 libssl-dev lsof sqlite3 tigervnc-standalone-server tigervnc-common novnc websockify openbox xfonts-base xfonts-scalable && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |4 VERSION=2.31.2 CHANNEL=stable TARGETPLATFORM=linux/amd64 BUILDPLATFORM=linux/amd64 /bin/sh -c if [ "${TARGETPLATFORM}" = "linux/amd64" ] ; then apt-get update && apt-get install -y binutils && apt-get clean && rm -rf /var/lib/apt/lists/* && strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 ; fi # buildkit |
| COPY root / # buildkit |
| RUN |4 VERSION=2.31.2 CHANNEL=stable TARGETPLATFORM=linux/amd64 BUILDPLATFORM=linux/amd64 /bin/sh -c chmod +x /start.sh && chmod +x /firmware-update.sh # buildkit |
| RUN |4 VERSION=2.31.2 CHANNEL=stable TARGETPLATFORM=linux/amd64 BUILDPLATFORM=linux/amd64 /bin/sh -c groupadd -g ${DECONZ_GID} "deconz" && useradd -u ${DECONZ_UID} -g "deconz" -G dialout -ms /bin/bash "deconz" # buildkit |
| COPY download-deconz.sh / # buildkit |
| RUN |4 VERSION=2.31.2 CHANNEL=stable TARGETPLATFORM=linux/amd64 BUILDPLATFORM=linux/amd64 /bin/sh -c chmod +x /download-deconz.sh && /download-deconz.sh ${VERSION} ${CHANNEL} ${TARGETPLATFORM} # buildkit |
| RUN |4 VERSION=2.31.2 CHANNEL=stable TARGETPLATFORM=linux/amd64 BUILDPLATFORM=linux/amd64 /bin/sh -c dpkg -i /deconz.deb && chown root:root /usr/bin/deCONZ* && setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/deCONZ && rm -f /deconz.deb # buildkit |
| VOLUME [/opt/deCONZ] |
| HEALTHCHECK &{["CMD-SHELL" "curl -I 127.0.0.1:${DECONZ_WEB_PORT} || exit 1"] "10s" "20s" "0s" "0s" '\x05'} |
| EXPOSE &{[{{103 0} {103 0}}] 0xc00041be40} |
| ENTRYPOINT ["/start.sh"] |
| LABEL org.opencontainers.image.base.name=ghcr.io/deconz-community/deconz-docker |
| COPY file:2a13ddcdedb48d25804e447a4f555ee7040c8d1734a6f2990cbc9a8ef2362c8c in /usr/share/deCONZ/plugins/ |
| EXPOSE 5008/tcp |
| LABEL "org.opencontainers.image.version"="v0.0.1" "org.opencontainers.image.revision"="44b0d9a7281caf2aa93bbf646df90874d7005cd7" "org.opencontainers.image.created"="2025-12-10T23:04:23Z" "org.opencontainers.image.source"="git.sig11.de/elratt0r/deconz-docker" "org.opencontainers.image.title"="deconz-docker" |