Skip to content

Commit

Permalink
Update homebridge to 2023-12-30
Browse files Browse the repository at this point in the history
Update to the latest official container and move the config directory to
/data. This should improve things for #10, but note that updates
performed via the Homebridge UI still won't be persistent for now.
  • Loading branch information
davide125 committed Jan 6, 2024
1 parent ea65280 commit 07fd59d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions homebridge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM oznu/homebridge:2023-01-08-ubuntu
FROM homebridge/homebridge:2023-12-30

# Relocate homebridge working directory so it can be persisted
# hadolint ignore=DL4006
RUN find /etc/s6-overlay/ -type f | xargs sed -i -E 's:([ "])/homebridge:\1$(cat /data/options.json | jq -r .homebridge_workdir):g'

# add bashio
ADD https://github.com/hassio-addons/bashio/archive/v0.14.3.tar.gz /tmp/bashio.tar.gz
ADD https://github.com/hassio-addons/bashio/archive/v0.16.0.tar.gz /tmp/bashio.tar.gz
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get install --no-install-recommends -y curl jq \
Expand Down
4 changes: 2 additions & 2 deletions homebridge/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Homebridge
version: 0.1.7
version: 0.1.8
stage: experimental
slug: homebridge
description: Lightweight HomeKit API implementation with plugin support
Expand All @@ -17,7 +17,7 @@ init: false
map:
- config:rw
options:
homebridge_workdir: "/config/homebridge"
homebridge_workdir: "/data/homebridge"
schema:
homebridge_workdir: str
image: davide125/{arch}-addon-homebridge

0 comments on commit 07fd59d

Please sign in to comment.