This commit is contained in:
16
.drone.yml
Normal file
16
.drone.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: https://git.ivasoft.cz
|
||||
username:
|
||||
from_secret: repo_user
|
||||
password:
|
||||
from_secret: repo_pass
|
||||
repo: git.ivasoft.cz/sw/docker-pulseaudio
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG:-latest}
|
||||
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM alpine:3.18
|
||||
|
||||
RUN apk add --no-cache pulseaudio pulseaudio-utils
|
||||
|
||||
RUN mkdir -p /root/.config/pulse && \
|
||||
echo "load-module module-native-protocol-tcp auth-anonymous=1 listen=0.0.0.0 port=4713" > /root/.config/pulse/default.pa && \
|
||||
echo "load-module module-always-sink" >> /root/.config/pulse/default.pa
|
||||
|
||||
# Force pulseaudio to run as a persistent foreground daemon
|
||||
ENTRYPOINT ["pulseaudio", "--system=false", "--daemonize=no", "--realtime=no", "--log-target=stderr"]
|
||||
Reference in New Issue
Block a user