2022-08-20 05:22:07 +02:00
|
|
|
# Recording container for BirdNET-stream
|
2022-08-22 06:22:30 +02:00
|
|
|
# References:
|
|
|
|
# - https://leimao.github.io/blog/Docker-Container-Audio/
|
|
|
|
# - https://askubuntu.com/questions/972510/how-to-set-alsa-default-device-to-pulseaudio-sound-server-on-docker
|
2022-08-20 05:22:07 +02:00
|
|
|
|
|
|
|
FROM debian:bullseye
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
# Install packages dependencies
|
2022-08-22 06:22:30 +02:00
|
|
|
RUN apt-get update && apt-get upgrade -y \
|
|
|
|
&& apt-get install -y \
|
|
|
|
--no-install-recommends \
|
2022-08-25 13:34:27 +02:00
|
|
|
ffmpeg \
|
2022-08-20 05:22:07 +02:00
|
|
|
&& apt-get clean
|
2022-08-22 06:22:30 +02:00
|
|
|
|
2022-08-25 13:34:27 +02:00
|
|
|
WORKDIR /opt/birdnet
|
2022-08-22 06:22:30 +02:00
|
|
|
|
2022-08-25 13:34:27 +02:00
|
|
|
ENTRYPOINT ["./daemon/birdnet_recording.sh"]
|