-
Notifications
You must be signed in to change notification settings - Fork 246
build!: DockerではPyinstallerビルドのエンジンを用いる #1669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build!: DockerではPyinstallerビルドのエンジンを用いる #1669
Conversation
7dfc341 to
dac6673
Compare
dac6673 to
f777833
Compare
qryxip
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f777833 (#1669): download-engine-envを仕上げました。
Dockerfile
Outdated
| ARG VOICEVOX_ENGINE_VERSION=latest | ||
| ARG USE_GPU=false | ||
|
|
||
| RUN --mount=type=secret,id=gh-token,env=GH_TOKEN <<EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 シェルスクリプトの書き方については、
- インデントは4
- (実質的に)定数となる変数は大文字
というところだけ合わせておく。
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
まだ完成じゃないかもですが気になるポイントをコメントしてみました!
かなり良い感じな気がしました!!!
判断メモ:
Github Runner側でパッケージをダウンロードして、dockerfileには COPY するだけという手もありそう。
でも今までは結構dockerfileの中でダウンロードしたりしていたので、そっちに合わせる手もありそう。
どちらが良いか今のところわからないので、個人的には一旦どっちでも良さそう!!
|
現状draftですが、もしよかったら @aoirint さんからも気になる点があったらコメントいただけると・・・!! 🙏 |
|
これにより、
のどちらかをやればdraftを外せる状態になると思います。 ちなみにUbuntu 22.04の |
|
@aoirint さんのキャッシュに関してのコメントを見て、20.04を爆破するのも良さそうですが、その場合でもlatestは辞めたほうが良さそうだなと思いました!! |
|
|
cce8419 to
10a6205
Compare
qryxip
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6a042f9 (#1669): README.mdとCONTRIBUTING.mdを更新
Hiroshiba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| env: | ||
| IMAGE_NAME: ${{ vars.DOCKERHUB_USERNAME }}/voicevox_engine | ||
| VOICEVOX_RESOURCE_VERSION: "0.23.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(ただのメモコメントです)
あ、VOICEVOX_RESOURCE_VERSIONは本当はなくせそうな気がしますね!!
packageのなかにあるはずなので・・・・・・と思ったら入ってなさそう!!!
じゃあ今の形が良さそう!!
Refs: VOICEVOX#1669 (comment) Co-authored-by: Hiroshiba <[email protected]>
Refs: VOICEVOX#1669 (comment) Suggested-by: Hiroshiba <[email protected]>
Refs: VOICEVOX#1669 (comment) Co-authored-by: Hiroshiba <[email protected]>
Refs: VOICEVOX#1669 (comment) Co-authored-by: Hiroshiba <[email protected]>
Refs: VOICEVOX#1669 (comment) Co-authored-by: Hiroshiba <[email protected]>
Hiroshiba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!
実装ありがとうございました!!!
レビューしましたが、正直全く問題ないのかどうか分かっていません・・・!
あとは実際にビルドして動かしてみて問題があるか確認かなと思います!
@aoirint さんも、見てくださってありがとうございました!
このプルリクエストはマージさせていただきますが、また気づいたことがあったら是非コメントいただければ・・・!!
内容
関連 Issue
Resolves #1668
スクリーンショット・動画など
その他