From f6788a13786aeb9824e1fa18049a48d613af08ee Mon Sep 17 00:00:00 2001 From: aoirint Date: Sun, 15 Dec 2024 22:03:30 +0900 Subject: [PATCH] =?UTF-8?q?add:=20Docker=E3=83=93=E3=83=AB=E3=83=89?= =?UTF-8?q?=E3=81=AE=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=E3=81=AE?= =?UTF-8?q?=E3=82=BF=E3=82=B0=E3=82=92Ubuntu=2022.04=E3=83=99=E3=83=BC?= =?UTF-8?q?=E3=82=B9=E3=81=AE=E3=82=A4=E3=83=A1=E3=83=BC=E3=82=B8=E3=81=AB?= =?UTF-8?q?=E5=88=87=E3=82=8A=E6=9B=BF=E3=81=88=E3=82=8B=20(#1505)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * build-engine-container.yml: デフォルトのタグをUbuntu 22.04に切り替える * README.md: Dockerイメージの案内をUbuntu 22.04ベースイメージに変更 * fix: Ubuntu 22.04のタグを最新のものに更新し、CI設定を整理 --------- Co-authored-by: Hiroshiba --- .github/workflows/build-engine-container.yml | 8 ++++---- README.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-engine-container.yml b/.github/workflows/build-engine-container.yml index 2151dd9..3886629 100644 --- a/.github/workflows/build-engine-container.yml +++ b/.github/workflows/build-engine-container.yml @@ -49,14 +49,14 @@ jobs: # platforms: Dockerのプラットフォームバリアント。カンマ区切り。 参考: https://docs.docker.com/build/building/multi-platform/ include: # Ubuntu 20.04 - - prefixes: ",cpu,cpu-ubuntu20.04" + - prefixes: "cpu-ubuntu20.04" buildcache_prefix: "cpu-ubuntu20.04" target: runtime-env base_image: ubuntu:20.04 base_runtime_image: ubuntu:20.04 onnxruntime_version: 1.13.1 platforms: linux/amd64,linux/arm64/v8 - - prefixes: "nvidia,nvidia-ubuntu20.04" + - prefixes: "nvidia-ubuntu20.04" buildcache_prefix: "nvidia-ubuntu20.04" target: runtime-nvidia-env base_image: ubuntu:20.04 @@ -64,14 +64,14 @@ jobs: onnxruntime_version: 1.13.1 platforms: linux/amd64 # Ubuntu 22.04 - - prefixes: "cpu-ubuntu22.04" + - prefixes: ",cpu,cpu-ubuntu22.04" buildcache_prefix: "cpu-ubuntu22.04" target: runtime-env base_image: ubuntu:22.04 base_runtime_image: ubuntu:22.04 onnxruntime_version: 1.13.1 platforms: linux/amd64,linux/arm64/v8 - - prefixes: "nvidia-ubuntu22.04" + - prefixes: "nvidia,nvidia-ubuntu22.04" buildcache_prefix: "nvidia-ubuntu22.04" target: runtime-nvidia-env base_image: ubuntu:22.04 diff --git a/README.md b/README.md index e16c9fa..42fe80f 100644 --- a/README.md +++ b/README.md @@ -43,15 +43,15 @@ VOICEVOX エンジンもしくはエディタを起動した状態で http://127 #### CPU ```bash -docker pull voicevox/voicevox_engine:cpu-ubuntu20.04-latest -docker run --rm -p '127.0.0.1:50021:50021' voicevox/voicevox_engine:cpu-ubuntu20.04-latest +docker pull voicevox/voicevox_engine:cpu-latest +docker run --rm -p '127.0.0.1:50021:50021' voicevox/voicevox_engine:cpu-latest ``` #### GPU ```bash -docker pull voicevox/voicevox_engine:nvidia-ubuntu20.04-latest -docker run --rm --gpus all -p '127.0.0.1:50021:50021' voicevox/voicevox_engine:nvidia-ubuntu20.04-latest +docker pull voicevox/voicevox_engine:nvidia-latest +docker run --rm --gpus all -p '127.0.0.1:50021:50021' voicevox/voicevox_engine:nvidia-latest ``` ##### トラブルシューティング