- 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.sh
· 489 B · Bash
Raw
#! /usr/bin/env bash
# install git
apt update
apt install -y git
# download and prepare Iris for build
git clone --depth=1 https://github.com/jaedb/Iris.git
cd Iris
# login, build and push
docker login
docker buildx build --platform linux/arm64 -t curiousercreative/iris:latest --push .
# slim the PIP packages, build and push a slim tag
cat << EOF > docker/requirements.txt
Mopidy-Local
Mopidy-Mpd
EOF
docker buildx build --platform linux/arm64 -t curiousercreative/iris:slim --push .
| 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 . |