Skip to content

Instantly share code, notes, and snippets.

@curiousercreative
Last active January 10, 2024 17:18
Show Gist options
  • Save curiousercreative/3c574bfcfbe2e39eddcc72b6ceba63fb to your computer and use it in GitHub Desktop.
Save curiousercreative/3c574bfcfbe2e39eddcc72b6ceba63fb to your computer and use it in GitHub Desktop.
Build Iris Docker Image for arm64
#! /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