This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rust | stage | minor | `1.79.0-bullseye` -> `1.80.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:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMiIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #143 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.9.0@sha256:4c1cc1c836054961219e03d71e3f48a993aa40b92c3482eed316e50ede4889d9 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.80.0-bullseye@sha256:f8055497f71faf952afb8a358dbca59e11bb82b94a0cba2a10bb4c05bd802fa0 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:b257e5e831aa9949737638f6d323cd563347b2a5571d98b9b15eef0c7cd80b68
|
|
|
|
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"]
|