cleaned up paths and fixed gitignore

This commit is contained in:
Ranomier 2021-10-08 16:51:46 +02:00
parent 5f6e2a414d
commit 0544ff7ba1
8 changed files with 29 additions and 2 deletions

View file

13
reciever/Dockerfile Normal file
View file

@ -0,0 +1,13 @@
#pipewire_sender
FROM docker.io/alpine:edge
RUN apk add --no-cache \
pipewire pipewire-alsa pipewire-jack pipewire-pulse \
pipewire-echo-cancel pipewire-spa-tools pipewire-zeroconf \
pipewire-media-session \
pulseaudio-utils \
bash
COPY --chown=1000 ./src/service.sh /service.sh
USER 1000
ENTRYPOINT /service.sh

4
reciever/build.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
source "../src/library.sh"
"$DOCKER_BIN" build -t pipewire_sender "$SCRIPT_DIR"

4
reciever/run.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
source "../src/library.sh"
"$DOCKER_BIN" run pipewire_sender

6
reciever/src/service.sh Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
echo "Hi Vern, this is just a test if it builds on a raspi. ;)"
#pactl load-module module-native-protocol-tcp port=4713 listen=0.0.0.0

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source "src/library.sh" source "../src/library.sh"
"$DOCKER_BIN" build -t pipewire_sender "$SCRIPT_DIR" "$DOCKER_BIN" build -t pipewire_sender "$SCRIPT_DIR"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source "./src/library.sh" source "../src/library.sh"
"$DOCKER_BIN" run pipewire_sender "$DOCKER_BIN" run pipewire_sender