Skip to content
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

docker build fails #147

Open
nobu-g opened this issue Apr 21, 2022 · 3 comments
Open

docker build fails #147

nobu-g opened this issue Apr 21, 2022 · 3 comments

Comments

@nobu-g
Copy link

nobu-g commented Apr 21, 2022

docker build . -t jumanpp fails with the messages below

 > [builder 4/4] RUN /bin/sh /root/script/make-jpp-alpine-x64.sh:
#8 0.172 + awk -f -
#8 0.174 + LEVEL=1
#8 0.174 + readlink -f /root/script/make-jpp-alpine-x64.sh
#8 0.175 + FULL_NAME=/root/script/make-jpp-alpine-x64.sh
#8 0.175 + dirname /root/script/make-jpp-alpine-x64.sh
#8 0.176 + SCRIPT_DIR=/root/script
#8 0.176 + dirname /root/script
#8 0.176 + JPP_SRC=/root
#8 0.176 + MODEL_FILE=/root/model/jumandic.jppmdl
#8 0.176 + TEXT_DATA=/root/model/pgo-train.txt
#8 0.176 + '[[' '!' -f /root/model/jumandic.jppmdl ]]
#8 0.176 + echo 'Model file /root/model/jumandic.jppmdl was not found'
#8 0.176 + exit 1
#8 0.176 Model file /root/model/jumandic.jppmdl was not found

branch
latest master

OS
macOS 12.3.1

Arch
arm64

Docker
Docker version 20.10.14, build a224086

@eiennohito
Copy link
Contributor

モデルを model フォルダーに入れておく必要があります。これがドキュメンテーションの不備ですね。

@nobu-g
Copy link
Author

nobu-g commented Apr 22, 2022

モデルのダウンロード方法含めドキュメント化するか, Dockerfile に書き足していただけるとありがたいです🙇‍♂️

@eiennohito
Copy link
Contributor

model フォルダーに jppdic.jppmdl のファイルとしてモデルのファイルを入れておく必要があります。後でReadmeに書いておきます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants