wernight / docker-qbittorrent

Containerized qBittorrent NOX (i.e., headless)
https://registry.hub.docker.com/u/wernight/qbittorrent/
MIT License
48 stars 35 forks source link

Fix for using alpine 3.19 #28

Open luckyluc74 opened 6 months ago

luckyluc74 commented 6 months ago

Because of alpine 3.17 and newer do not have package libexecinfo-dev anymore you have 2 options to use newer alpine

1) use package elfutils(-dev) instead of libexecinfo(-dev) 2) disable stacktrace (STACKTRRACE=OFF) for qbittorent build and remove packages libexecinfo and libexecinfo-dev

Following is a git diff for Dockerfile in latest changes.txt Besides using alpine 3.19 I also updated boost to 1.82 and using C++20 standard.

FYI I compile for arm64 with following command locally on raspberry pi 5

docker buildx build --platform linux/arm64 -t wernight/qbittorrent:4.6.4-arm64 .  

FYI This is the size difference for arm64 image using new alpine 3.19 image

wernight/qbittorrent                            4.6.4-319-arm64           9a89e95b40b9   20 minutes ago      269MB
wernight/qbittorrent                            4.6.4-arm64               548ab2005b7f   3 hours ago         423MB

Would be nice to also have a arm64 build :)