请问自己 build ks-installer 有对应的教程吗,我用下面的 Dockerfile 进行 build 之后运行一直有报错
https://github.com/flant/shell-operator/tree/v1.0.0-beta.5
https://github.com/kubesphere/ks-installer/blob/v3.2.0/Dockerfile
报错类似
2023-07-18T07:11:11Z INFO : shell-operator latest
2023-07-18T07:11:11Z INFO : HTTP SERVER Listening on 0.0.0.0:9115
2023-07-18T07:11:11Z INFO : Use temporary dir: /tmp/shell-operator
2023-07-18T07:11:11Z INFO : Initialize hooks manager …
2023-07-18T07:11:11Z INFO : Search and load hooks …
2023-07-18T07:11:11Z INFO : Load hook config from ‘/hooks/kubesphere/installRunner.py’
Traceback (most recent call last):
File “/hooks/kubesphere/installRunner.py”, line 8, in <module>
import ansible_runner
ModuleNotFoundError: No module named ‘ansible_runner’
2023-07-18T07:11:11Z ERROR : Hook ‘/hooks/kubesphere/installRunner.py –config’ output:
Unable to initialize hook manager: cannot get config for hook ‘/hooks/kubesphere/installRunner.py’: exit status