* build: add argument INSTALL_ARIA2 to dockerfile
* feat: run aria2 in main entrypoint
* feat(ci): environment matrix for docker release
* improve(ci): allow overwrite artifacts in docker release
* fix(ci): permission of alist binary in docker; entrypoint logic
* improve(aria2): move aria2 data to /opt/aria2; fix permission issues
References:
https://github.com/AlistGo/with_aria2/pull/13
Co-authored-by: GoodbyeNJN <cc@fuckwall.cc>
* fix(ci): aio image is not taking effect
* fix(build): tar command in aria2 installation process
(cherry picked from commit 647285408354807bae64df6a20fefb696ff787de)
---------
Co-authored-by: GoodbyeNJN <cc@fuckwall.cc>
* build: improve multistage docker build
* build: add dockerfile for ci
* build: add BuildDockerMultiplatform function in build.sh for ci
* ci: change build method
* build: add missing mod download command to the Dockerfile
* build: revert changes made ffmpeg installed
* build: use musl build for docker release
* ci: apply to dev version
* fix: don't login on pr
* fix: don't build_docker_with_aria2 on pr
---------
Co-authored-by: Andy Hsu <i@nn.ci>
This is to enable the use case where the stock Docker image is used with
different flags. E.g. `docker run xhofe/alist:latest ./alist server --data=mydata`
This was the behavior until PR#2818 changed it. This would make the image more usable.