Last active 1 day ago

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