buiild custom snapcast container
All checks were successful
ci/woodpecker/push/snapcast Pipeline was successful
ci/woodpecker/push/invoiceninja Pipeline was successful
ci/woodpecker/push/woodpecker-ci Pipeline was successful

This commit is contained in:
Neil Hanlon 2024-01-03 17:37:20 -05:00
parent 169fe6793f
commit bb7345f0c5
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
2 changed files with 41 additions and 0 deletions

28
.woodpecker/.snapcast.yml Normal file
View File

@ -0,0 +1,28 @@
---
branches: main
pipeline:
invoiceninja:
image: woodpeckerci/plugin-docker-buildx
privileged: true
secrets: [repository_username, repository_password]
settings:
dockerfile: snapcast/Containerfile
platforms: linux/amd64,linux/arm64/v8
registry: git.shrug.pw
repo: git.shrug.pw/neil/containers/snapcast
tag: latest
pull_image: true
auto_tag: true
auto_labels: true
mtu: 1400
username:
from_secret: registry_username
password:
from_secret: registry_password
logins:
- registry: git.shrug.pw
username:
from_secret: registry_username
password:
from_secret: registry_password

13
snapcast/Containerfile Normal file
View File

@ -0,0 +1,13 @@
FROM debian:11
RUN dpkg --add-architecture armhf
RUN apt update
RUN apt -y install curl
RUN curl -Lso /tmp/snapserver.deb https://github.com/badaix/snapcast/releases/download/v0.27.0/snapserver_0.27.0-1_armhf.deb
RUN apt -y install /tmp/snapserver.deb
RUN rm -fr /tmp/snapserver.deb
RUN mkdir /work
WORKDIR /work
ENTRYPOINT ["snapserver"]