- Create a new ARM server (CAX41 | arm | 320 GB | eu-central) from app image: Docker CE
- SSH in
- Run the above
Build Iris Docker Image for arm64
Revision 713880e6e4f1c096d626333a2acb8b54337ba656
| 1 | #! /usr/bin/env bash |
| 2 | |
| 3 | # install git |
| 4 | apt update |
| 5 | apt install -y git |
| 6 | |
| 7 | # download and prepare Iris for build |
| 8 | git clone --depth=1 https://github.com/jaedb/Iris.git |
| 9 | cd Iris |
| 10 | |
| 11 | # login, build and push |
| 12 | docker login |
| 13 | docker buildx build --platform linux/arm64 -t curiousercreative/iris:latest --push . |
| 14 | |
| 15 | # slim the PIP packages, build and push a slim tag |
| 16 | cat << EOF > docker/requirements.txt |
| 17 | Mopidy-Local |
| 18 | Mopidy-Mpd |
| 19 | EOF |
| 20 | docker buildx build --platform linux/arm64 -t curiousercreative/iris:slim --push . |