buiild custom snapcast container
This commit is contained in:
parent
169fe6793f
commit
bb7345f0c5
28
.woodpecker/.snapcast.yml
Normal file
28
.woodpecker/.snapcast.yml
Normal 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
13
snapcast/Containerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user