# debian.sh --arch 'amd64' out/ 'bullseye' '@1733097600' |
/bin/sh -c dpkg --add-architecture armhf |
/bin/sh -c apt update |
/bin/sh -c apt -y install curl |
/bin/sh -c curl -Lso /tmp/snapserver.deb https://github.com/badaix/snapcast/releases/download/v0.29.0/snapserver_0.29.0-1_armhf_bullseye.deb |
/bin/sh -c apt -y install /tmp/snapserver.deb |
/bin/sh -c rm -fr /tmp/snapserver.deb |
COPY file:a0501cbbb44d10a90a5a7ed5b2943ef41caa22be6eb3e664d4a4991856469f90 in /tmp |
/bin/sh -c mkdir /usr/share/snapserver/snapweb-react |
/bin/sh -c tar -xf /tmp/snapweb-build.tar.gz -C /usr/share/snapserver/snapweb |
/bin/sh -c sed -i 's,/usr/share/snapserver/snapweb,/usr/share/snapserver/snapweb,' /etc/snapserver.conf |
/bin/sh -c mkdir /work |
WORKDIR /work |
ENTRYPOINT ["snapserver"] |