This repository has been archived by the owner on Sep 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding avahi-daemon addon to try and fix #22
- Loading branch information
Showing
10 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
ARG BUILD_FROM=hassioaddons/debian-base:3.0.0 | ||
# hadolint ignore=DL3006 | ||
FROM ${BUILD_FROM} | ||
|
||
ARG BUILD_ARCH | ||
|
||
ENV DEPS avahi-daemon | ||
|
||
RUN apt-get update -y && apt-get install -y --no-install-recommends ${DEPS} \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY rootfs / | ||
|
||
ARG BUILD_DATE | ||
ARG BUILD_REF | ||
ARG BUILD_VERSION | ||
|
||
LABEL \ | ||
io.hass.name="Avahi Daemon" \ | ||
io.hass.description="The avahi daemon" \ | ||
io.hass.arch="${BUILD_ARCH}" \ | ||
io.hass.type="addon" \ | ||
io.hass.version=${BUILD_VERSION} \ | ||
maintainer="Ulrar" \ | ||
org.label-schema.description="The avahi daemon" \ | ||
org.label-schema.build-date=${BUILD_DATE} \ | ||
org.label-schema.name="Avahi Daemon" \ | ||
org.label-schema.schema-version="1.0" \ | ||
org.label-schema.url="" \ | ||
org.label-schema.usage="" \ | ||
org.label-schema.vcs-ref=${BUILD_REF} \ | ||
org.label-schema.vcs-url="https://github.com/Ulrar/hassio-addons/tree/master/avahi-daemon" \ | ||
org.label-schema.vendor="Ulrar addons" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"build_from": { | ||
"aarch64": "hassioaddons/debian-base-aarch64:3.0.0", | ||
"amd64": "hassioaddons/debian-base-amd64:3.0.0", | ||
"armv7": "hassioaddons/debian-base-armv7:3.0.0", | ||
"i386": "hassioaddons/debian-base-i386:3.0.0" | ||
}, | ||
"args": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "Avahi Daemon", | ||
"version": "dev", | ||
"slug": "avahi-daemon", | ||
"panel_icon": "mdi:access-point", | ||
"description": "Avahi Daemon needed by forked-daapd", | ||
"url": "https://github.com/Ulrar/hassio-addons", | ||
"stage": "experimental", | ||
"ingress": false, | ||
"startup": "application", | ||
"arch": [ | ||
"aarch64", | ||
"armv7", | ||
"amd64", | ||
"i386" | ||
], | ||
"boot": "auto", | ||
"apparmor": true, | ||
"hassio_api": false, | ||
"auth_api": false, | ||
"hassio_role": "default", | ||
"audio": false, | ||
"host_network": true, | ||
"host_dbus": true, | ||
"host_ipc": false, | ||
"ports": {}, | ||
"ports_description": {}, | ||
"map": [], | ||
"options": {}, | ||
"schema": {} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/execlineb -S0 | ||
# ============================================================================== | ||
# JPD Hass.io Add-ons: raspotify server | ||
# Take down the S6 supervision tree when raspotify fails | ||
# ============================================================================== | ||
if -n { s6-test $# -ne 0 } | ||
if -n { s6-test ${1} -eq 256 } | ||
|
||
s6-svscanctl -t /var/run/s6/services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/with-contenv bashio | ||
# ============================================================================== | ||
# avahi-daemon | ||
# ============================================================================== | ||
# shellcheck disable=SC1091 | ||
|
||
# Run avahi-daemon | ||
bashio::log.info 'Starting the avahi daemon...' | ||
exec /usr/sbin/avahi-daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters