Nils nils
  • Joined on 2025-04-06

homebridge (dff02fd17673f9efd4ae2712e1fa03bba907901c)

Published 2025-04-10 21:37:13 +00:00 by nils

Installation

docker pull git.draic.info/nils/homebridge:dff02fd17673f9efd4ae2712e1fa03bba907901c
sha256:56a574b6492b3efc4422805e6df6b5a6c3946aa4aef0d657b04f6cd066122a24

Images

Digest OS / Arch Size
13c4bce4b8 linux/amd64 363 MiB
4355293fdf linux/arm64 354 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:6df775300d76441aa33f31b22c1afce8dfe35c8ffbc14ef27c27009235b12a95 in /
CMD ["/bin/bash"]
LABEL org.opencontainers.image.title=Homebridge in Docker
LABEL org.opencontainers.image.description=Official Homebridge Docker Image
LABEL org.opencontainers.image.authors=homebridge
LABEL org.opencontainers.image.url=https://github.com/homebridge/docker-homebridge
LABEL org.opencontainers.image.licenses=GPL-3.0
ARG HOMEBRIDGE_APT_PKG_VERSION=v1.4.8
ARG FFMPEG_VERSION=v2.1.7
ENV HOMEBRIDGE_APT_PKG_VERSION=v1.4.8
ENV FFMPEG_VERSION=v2.1.7
ENV S6_OVERLAY_VERSION=3.2.0.2 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_KEEP_ENV=1 ENABLE_AVAHI=1 USER=root HOMEBRIDGE_APT_PACKAGE=1 UIX_CUSTOM_PLUGIN_PATH=/var/lib/homebridge/node_modules PATH=/opt/homebridge/bin:/var/lib/homebridge/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/home/homebridge npm_config_prefix=/opt/homebridge
RUN |2 HOMEBRIDGE_APT_PKG_VERSION=v1.4.8 FFMPEG_VERSION=v2.1.7 /bin/sh -c set -x && apt-get update && apt-get install -y curl wget tzdata locales psmisc procps iputils-ping logrotate libatomic1 apt-transport-https apt-utils jq openssl sudo nano net-tools && locale-gen en_US.UTF-8 && ln -snf /usr/share/zoneinfo/Etc/GMT /etc/localtime && echo Etc/GMT > /etc/timezone && apt-get install -y python3 python3-pip pipx python3-setuptools git make g++ libnss-mdns avahi-discover libavahi-compat-libdnssd-dev python3-venv python3-dev && pipx install tzupdate && chmod 4755 /bin/ping && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* && rm -rf /etc/cron.daily/apt-compat /etc/cron.daily/dpkg /etc/cron.daily/passwd /etc/cron.daily/exim4-base # buildkit
RUN |2 HOMEBRIDGE_APT_PKG_VERSION=v1.4.8 FFMPEG_VERSION=v2.1.7 /bin/sh -c case "$(uname -m)" in x86_64) S6_ARCH='x86_64';; armv7l) S6_ARCH='armhf';; aarch64) S6_ARCH='aarch64';; *) echo "unsupported architecture"; exit 1 ;; esac && cd /tmp && set -x && curl -SLOf https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz && tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && curl -SLOf https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz && tar -C / -Jxpf /tmp/s6-overlay-${S6_ARCH}.tar.xz # buildkit
RUN |2 HOMEBRIDGE_APT_PKG_VERSION=v1.4.8 FFMPEG_VERSION=v2.1.7 /bin/sh -c case "$(uname -m)" in x86_64) FFMPEG_ARCH='x86_64';; armv7l) FFMPEG_ARCH='arm32v7';; aarch64) FFMPEG_ARCH='aarch64';; *) echo "unsupported architecture"; exit 1 ;; esac && set -x && curl -Lfs https://github.com/homebridge/ffmpeg-for-homebridge/releases/download/${FFMPEG_VERSION}/ffmpeg-alpine-${FFMPEG_ARCH}.tar.gz | tar xzf - -C / --no-same-owner # buildkit
RUN |2 HOMEBRIDGE_APT_PKG_VERSION=v1.4.8 FFMPEG_VERSION=v2.1.7 /bin/sh -c case "$(uname -m)" in x86_64) DEB_ARCH='amd64';; armv7l) DEB_ARCH='armhf';; aarch64) DEB_ARCH='arm64';; *) echo "unsupported architecture"; exit 1 ;; esac && set -x && curl -sSLf -o /homebridge_${HOMEBRIDGE_APT_PKG_VERSION}.deb https://github.com/homebridge/homebridge-apt-pkg/releases/download/${HOMEBRIDGE_APT_PKG_VERSION}/homebridge_${HOMEBRIDGE_APT_PKG_VERSION}_${DEB_ARCH}.deb && dpkg -i /homebridge_${HOMEBRIDGE_APT_PKG_VERSION}.deb && rm -rf /homebridge_${HOMEBRIDGE_APT_PKG_VERSION}.deb && chown -R root:root /opt/homebridge && rm -rf /var/lib/homebridge # buildkit
COPY rootfs / # buildkit
EXPOSE map[8581/tcp:{}]
VOLUME [/homebridge]
WORKDIR /homebridge
ENTRYPOINT ["/init"]
USER root
RUN /bin/sh -c apt-get update && apt-get install -y git build-essential libpcap-dev && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c npm install -g git+https://github.com/snowdd1/homebridge-knx.git # buildkit
USER homebridge

Labels

Key Value
org.opencontainers.image.authors homebridge
org.opencontainers.image.description Official Homebridge Docker Image
org.opencontainers.image.licenses GPL-3.0
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.title Homebridge in Docker
org.opencontainers.image.url https://github.com/homebridge/docker-homebridge
org.opencontainers.image.version 24.04
Details
Container
2025-04-10 21:37:13 +00:00
1
OCI / Docker
Versions (2) View all