最后活跃于 2 days ago

curiouser's Avatar Winston Hoy 修订了这个 Gist 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

curiouser's Avatar Winston Hoy 修订了这个 Gist 2 years ago. 转到此修订

1 file changed, 0 insertions, 0 deletions

_build-iris-docker-image.sh 重命名为 main.sh

文件已重命名,但内容与之前没有差异

curiouser's Avatar Winston Hoy 修订了这个 Gist 2 years ago. 转到此修订

1 file changed, 0 insertions, 0 deletions

build-iris-docker-image.sh 重命名为 _build-iris-docker-image.sh

文件已重命名,但内容与之前没有差异

curiouser's Avatar Winston Hoy 修订了这个 Gist 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 .

curiouser's Avatar Winston Hoy 修订了这个 Gist 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 .
上一页 下一页