HUB
Sign inSign up

tari/airsonic

By tari

•Updated over 6 years ago

Unofficial builds of airsonic for non-x86

Image
0

117

tari/airsonic repository overview

The official airsonic/airsonic image is currently only built for x86_64, which means it can't run on ARM systems. This image provides builds for ARM.

Building an ARM image involves hacking the Dockerfile, for instance to build the armv7 image:

diff --git a/install/docker/Dockerfile b/install/docker/Dockerfile
index 55fb8736..164dded4 100644
--- a/install/docker/Dockerfile
+++ b/install/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.9
+FROM --platform=linux/arm/v7 alpine:3.9
 
 LABEL description="Airsonic is a free, web-based media streamer, providing ubiquitious access to your music." \
       url="https://github.com/airsonic/airsonic"

Then the image can be built normally:

mvn -P docker package

Cross-compiling requires binfmt support for emulation, as outlined for using buildx⁠ (though buildx is not required).

Tag summary

Content type

Image

Digest

Size

181 MB

Last updated

over 6 years ago

docker pull tari/airsonic:10.6.2-RELEASE