This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rust | stage | minor | `1.76.0-bullseye` -> `1.77.0-bullseye` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI1Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Reviewed-on: #112 Co-authored-by: renovate-bot <bot@walbeck.it> Co-committed-by: renovate-bot <bot@walbeck.it>
46 lines
1.6 KiB
Docker
46 lines
1.6 KiB
Docker
FROM curlimages/curl:8.6.0@sha256:c3b8bee303c6c6beed656cfc921218c529d65aa61114eb9e27c62047a1271b9b as snapcast
|
|
|
|
# renovate: datasource=github-tags depName=badaix/snapcast versioning=semver
|
|
ENV SNAPCAST_VERSION v0.27.0
|
|
|
|
RUN set -ex; \
|
|
\
|
|
curl -Lo /home/curl_user/snapserver.deb \
|
|
https://github.com/badaix/snapcast/releases/download/${SNAPCAST_VERSION}/snapserver_${SNAPCAST_VERSION#v}-1_amd64.deb
|
|
|
|
FROM rust:1.77.0-bullseye@sha256:856eef90abc6856c9190d7511ceafed101613cf7d164910ccbcc29dfbce336a7 as librespot
|
|
|
|
# renovate: datasource=github-tags depName=librespot-org/librespot versioning=semver
|
|
ENV LIBRESPOT_VERSION v0.4.2
|
|
|
|
RUN set -ex; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
; \
|
|
rustup component add rustfmt clippy; \
|
|
git clone --branch ${LIBRESPOT_VERSION} https://github.com/librespot-org/librespot.git /librespot; \
|
|
cd /librespot; \
|
|
cargo build --release --no-default-features;
|
|
|
|
FROM debian:bullseye-slim@sha256:a165446a88794db4fec31e35e9441433f9552ae048fb1ed26df352d2b537cb96
|
|
|
|
COPY --from=snapcast /home/curl_user/snapserver.deb /snapserver.deb
|
|
COPY --from=librespot /librespot/target/release/librespot /usr/local/bin/librespot
|
|
|
|
RUN set -ex; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
supervisor \
|
|
/snapserver.deb \
|
|
; \
|
|
mkdir -p \
|
|
/var/log/supervisord \
|
|
/var/run/supervisord \
|
|
; \
|
|
apt-get clean; \
|
|
rm -rf /var/lib/apt/lists/*;
|
|
|
|
COPY supervisord.conf /supervisord.conf
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|