Sign inSign up

giof71/mpd-compiler

By giof71

Updated 22 days ago

MPD Compiler

Image
1

10K+

giof71/mpd-compiler repository overview

mpd-compiler-docker

Builds mpd from source code, specifically this fork of MPD.
Can be used as base for other container images.

Reference

This repo creates builds for MPD.

Source code on GitHub
Images on DockerHub

News

Current builds use version 0.24.12.
Due to a mistake, a version with mpd 0.24.4 was never released. When I intended to release an image with version 0.24.4, a build with 0.24.3 would be contained in such images instead.
The issue had reflected itself on the mpd-alsa-docker images as well.
Now the issue is hopefully fixed with the upgrade to version 0.24.5.
Apologies for the inconvenience.

Usage

Compiled binaries are available at the directory /app/bin. You will find that this directory include two files, mpd and mpd-ups.
The latter is a patched version, which will support a new configuration parameter named integer_upsampling for alsa outputs. If set to yes and if allowed_formats is set, this configuration will choose the first format which is an integer multiple of the currently playing audio file.
Example for allowed_formats: "352800:*:* 384000:*:* *:dsd:*". Using this configuration, 44.1kHz will be upsampled to 352.8kHz and 48kHz will be upsampled to 384kHz.
This image is used by the mpd-alsa-docker repo. Using that it should be easy to adopt this patched version of mpd.

Download compiled binaries

Run the following in order to copy the compiled binaries from the image in the current directory:

docker run --rm --user $(id -u):$(id -g) -v "$(pwd)":/output --entrypoint cp giof71/mpd-compiler /app/bin/compiled/mpd /output/mpd.0.24.15
docker run --rm --user $(id -u):$(id -g) -v "$(pwd)":/output --entrypoint cp giof71/mpd-compiler /app/bin/compiled/mpd-ups /output/mpd.0.24.15.ups

Dependencies will be needed in order to run the binaries. The latest images use trixie, so these binaries will (should) work on debian trixie easily.

Disclaimer

This is not supported by the MPD project. Use this patched version at your own risk.

Change History

See the following table for changes starting from 2023-07-20.

DateMajor Changes
2026-08-25Bump to mpd 0.24.15 (see issue #88)
2026-07-20Update github actions (see issue #86)
2026-07-20Bump to mpd 0.24.13 (see issue #84)
2026-06-01Bump to debian trixie
2026-05-16Bump to mpd 0.24.12 (see issue #77)
2026-05-09Bump to mpd 0.24.10 (see issue #75)
2026-04-08Bump to mpd 0.24.9 (see issue #73)
2026-02-01Bump to mpd 0.24.8 (see issue #71)
2025-10-22Bump to mpd 0.24.6 (see issue #69)
2025-08-03Remove wrong reference to 0.24.3
2025-08-02Restore GitHub workflow
2025-08-02Bump to mpd 0.24.5
2025-06-15Add support for linux/arm/v6 (see issue #63)
2025-05-27Bump to mpd 0.24.4 (see issue #61)
2025-05-08Build in release mode
2025-05-08Avoid apt-get upgrade
2025-05-08Remove non-lts ubuntu base images
2025-05-08Sort debian versions in build.sh
2025-04-13Bump to mpd 0.24.3 (see issue #58)
2025-03-27Bump to mpd 0.24.2 (see issue #56)
2025-03-23Bump to mpd 0.24.1 (see issue #54)
2025-02-07Bump to mpd 0.23.17 (see issue #50)
2024-12-27Bump to mpd 0.23.16 (see issue #48)
2024-06-13Add support for noble (see issue #46)
2023-12-22Dropped lunar builds (see issue #44)
2023-12-22Bump to mpd 0.23.15 (see issue #42)
2023-10-11Add support for mantic (see issue #39)
2023-10-10Unified github workflow (see issue #36)
2023-10-10Bump to mpd 0.23.14 (see issue #37)
2023-08-29Debian builds for arm/v5 instead of v6 (see issue #34)
2023-07-21Slim down image size, fix workflow warnings
2023-07-20Apt install commands optimization (see issue #31)
2023-07-20Dropped bullseye and jammy builds (see issue #29)

Tag summary

Content type

Image

Digest

sha256:c8859c6b2

Size

239.9 MB

Last updated

22 days ago

docker pull giof71/mpd-compiler