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