Last active
January 10, 2024 17:18
-
-
Save curiousercreative/3c574bfcfbe2e39eddcc72b6ceba63fb to your computer and use it in GitHub Desktop.
Build Iris Docker Image for arm64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment