Winston Hoy 已修改 2 years ago. 還原成這個修訂版本
2 files changed, 2 insertions, 3 deletions
README.md (檔案已刪除)
| @@ -1,3 +0,0 @@ | |||
| 1 | - | 1. Create a new ARM server (CAX41 | arm | 320 GB | eu-central) from app image: Docker CE | |
| 2 | - | 1. SSH in | |
| 3 | - | 1. Run the above | |
main.sh
| @@ -1,5 +1,7 @@ | |||
| 1 | 1 | #! /usr/bin/env bash | |
| 2 | 2 | ||
| 3 | + | # Create a new ARM server (CAX41 | arm | 320 GB | eu-central) from app image: Docker CE | |
| 4 | + | ||
| 3 | 5 | # install git | |
| 4 | 6 | apt update | |
| 5 | 7 | apt install -y git | |
Winston Hoy 已修改 2 years ago. 還原成這個修訂版本
1 file changed, 0 insertions, 0 deletions
_build-iris-docker-image.sh 重命名為 main.sh
檔案名稱與重新命名前相同
Winston Hoy 已修改 2 years ago. 還原成這個修訂版本
1 file changed, 0 insertions, 0 deletions
build-iris-docker-image.sh 重命名為 _build-iris-docker-image.sh
檔案名稱與重新命名前相同
Winston Hoy 已修改 2 years ago. 還原成這個修訂版本
2 files changed, 16 insertions, 2 deletions
README.md(檔案已創建)
| @@ -0,0 +1,3 @@ | |||
| 1 | + | 1. Create a new ARM server (CAX41 | arm | 320 GB | eu-central) from app image: Docker CE | |
| 2 | + | 1. SSH in | |
| 3 | + | 1. Run the above | |
build-iris-docker-image.sh
| @@ -1,9 +1,20 @@ | |||
| 1 | 1 | #! /usr/bin/env bash | |
| 2 | 2 | ||
| 3 | + | # install git | |
| 3 | 4 | apt update | |
| 4 | 5 | apt install -y git | |
| 6 | + | ||
| 7 | + | # download and prepare Iris for build | |
| 5 | 8 | git clone --depth=1 https://github.com/jaedb/Iris.git | |
| 6 | 9 | cd Iris | |
| 7 | - | vi docker/requirements.txt # remove extensions you don't want | |
| 10 | + | ||
| 11 | + | # login, build and push | |
| 8 | 12 | docker login | |
| 9 | - | docker buildx build --platform linux/arm64 -t curiouser/iris:latest --push . | |
| 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 . | |
Winston Hoy 已修改 2 years ago. 還原成這個修訂版本
1 file changed, 9 insertions
build-iris-docker-image.sh(檔案已創建)
| @@ -0,0 +1,9 @@ | |||
| 1 | + | #! /usr/bin/env bash | |
| 2 | + | ||
| 3 | + | apt update | |
| 4 | + | apt install -y git | |
| 5 | + | git clone --depth=1 https://github.com/jaedb/Iris.git | |
| 6 | + | cd Iris | |
| 7 | + | vi docker/requirements.txt # remove extensions you don't want | |
| 8 | + | docker login | |
| 9 | + | docker buildx build --platform linux/arm64 -t curiouser/iris:latest --push . | |