Skip to content
lachlan edited this page Jan 24, 2020 · 1 revision

Build Process

Additional requirements

  • Update ampache-docker README.md with the current version.
  • Update config file in docker (ampache.cfg.php.dist) if it's changed as well

Update ampache-docker images on docker hub

Update the official Ampache docker images [https://hub.docker.com/r/ampache/ampache]

  • To bump ampache-docker images rebuild for arm and amd64 using buildx [https://github.com/docker/buildx]
  • After enabling experimental mode I installed the tools and buildx container.

This should only be needed once obviously

aptitude install qemu qemu-user-static qemu-user binfmt-support
docker buildx create --name mybuilder mybuilder
docker buildx use mybuilder
docker buildx inspect --bootstrap

Build master images and push to docker hub.

latest

git clone -b master https://github.com/ampache/ampache-docker.git ampache-docker/
cd ampache-docker
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t ampache/ampache:latest --push .

Build develop images and push to docker hub.

git clone -b develop https://github.com/ampache/ampache-docker.git ampache-docker-develop/
cd ampache-docker-develop
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t ampache/ampache:develop --push .
Clone this wiki locally