-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (27 loc) · 1.17 KB
/
Dockerfile
File metadata and controls
32 lines (27 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Base image updated by Renovate, update versionCompatibility on Alpine base bump
FROM ghcr.io/home-assistant/base:3.23-2026.05.0@sha256:3036cd72ba7755263cd103acc77cb0b438462720c2c8c23b7c2b52e52d7f4b50
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
ARG MDNS_REPEATER_VERSION="1.2.0"
RUN \
apk add --no-cache --virtual .build-deps \
build-base \
git \
\
&& git clone -b ${MDNS_REPEATER_VERSION} --depth 1 \
https://github.com/pvizeli/mdns-repeater /usr/src/mdns \
&& cd /usr/src/mdns \
&& gcc -O3 -o /usr/bin/mdns-repeater \
mdns-repeater.c -DVERSION="\"${MDNS_REPEATER_VERSION}\"" \
\
&& apk del .build-deps \
&& rm -rf \
/usr/src/mdns
COPY rootfs /
LABEL \
io.hass.type="multicast" \
org.opencontainers.image.title="Home Assistant Multicast Plugin" \
org.opencontainers.image.description="Home Assistant Supervisor plugin for Multicast" \
org.opencontainers.image.authors="The Home Assistant Authors" \
org.opencontainers.image.url="https://www.home-assistant.io/" \
org.opencontainers.image.documentation="https://www.home-assistant.io/docs/" \
org.opencontainers.image.licenses="Apache License 2.0"