mirror of
https://github.com/home-assistant/supervisor.git
synced 2026-02-14 23:19:37 +00:00
Add Audio layer / PulseAudio (#1523)
* Improve alsa handling * use default from image * create alsa folder * Map config into addon * Add Audio object * Fix dbus * add host group file * Fix persistent file * Use new template * fix lint * Fix lint * add API * Update new base image / build system * Add audio container * extend new audio settings * provide pulse client config * Adjust files * Use without auth * reset did not exists now * cleanup old alsa layer * fix tasks * fix black * fix lint * Add dbus support * add dbus adjustments * Fixups
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -23,15 +23,11 @@ RUN export MAKEFLAGS="-j$(nproc)" \
|
||||
-r ./requirements.txt \
|
||||
&& rm -f requirements.txt
|
||||
|
||||
# Install HassIO
|
||||
COPY . hassio
|
||||
RUN pip3 install --no-cache-dir -e ./hassio \
|
||||
&& python3 -m compileall ./hassio/hassio
|
||||
# Install Home Assistant Supervisor
|
||||
COPY . supervisor
|
||||
RUN pip3 install --no-cache-dir -e ./supervisor \
|
||||
&& python3 -m compileall ./supervisor/supervisor
|
||||
|
||||
|
||||
# Initialize udev daemon, handle CMD
|
||||
COPY entry.sh /bin/
|
||||
ENTRYPOINT ["/bin/entry.sh"]
|
||||
|
||||
WORKDIR /
|
||||
CMD [ "python3", "-m", "supervisor" ]
|
||||
COPY rootfs /
|
||||
|
||||
Reference in New Issue
Block a user