Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bump Rust and add per-arch Zig install

Use rust:1.94-bookworm and add TARGETARCH build arg. Replace the
pkgm-based Zig install with an explicit download of Zig 0.16.0,
mapping amd64/arm64 to x86_64/aarch64 binaries and symlinking the
zig binary into /usr/local/bin.

+13 -2
+13 -2
.devcontainer/Dockerfile
··· 1 - FROM rust:1.88-bookworm 1 + FROM rust:1.94-bookworm 2 + 3 + ARG TARGETARCH 2 4 3 5 RUN apt-get update && apt-get install -y apt-utils && \ 4 6 apt-get install -y build-essential \ ··· 20 22 21 23 RUN curl -Ssf https://pkgx.sh | sh 22 24 23 - RUN pkgm install zig@0.14.1 25 + RUN case "${TARGETARCH}" in \ 26 + amd64) ZIG_ARCH="x86_64" ;; \ 27 + arm64) ZIG_ARCH="aarch64" ;; \ 28 + *) echo "Unsupported arch: ${TARGETARCH}" && exit 1 ;; \ 29 + esac && \ 30 + export VERSION=0.16.0 && \ 31 + wget "https://ziglang.org/download/${VERSION}/zig-${ZIG_ARCH}-linux-${VERSION}.tar.xz" && \ 32 + tar -xf "zig-${ZIG_ARCH}-linux-${VERSION}.tar.xz" && \ 33 + mv "zig-${ZIG_ARCH}-linux-${VERSION}" /usr/local/zig && \ 34 + ln -s /usr/local/zig/zig /usr/local/bin/zig 24 35 25 36 RUN curl -s https://ohmyposh.dev/install.sh | bash -s -- -d /usr/local/bin 26 37