I tried to run it on Oracle's ARM host and rebuild docker image. I removed some packages which isn't supported on ARM platform such as Aspose.Slides and N-card. Therefore, Some features won't work any more, for example, Powerpoint file isn't support any more. Updated requirements.txt and Dockerfile.scratch are attached. requirements.txtDockerfile.scratch.txt Excuse me. How to run zhe docker image with the changed files? I just known how to use docker compose run the program in the docker folder
8条答案
按热度按时间weylhg0b1#
请给KevinHuSh提供一些关于构建Mac镜像的说明。
vmdwslir2#
ragflow/Dockerfile.scratch 包含了构建镜像所需的所有必要步骤。
juud5qan3#
你好。我尝试使用Dockerfile.scratch,但镜像构建不成功。你是否介意提供详细的说明,如何在Mac上设置ARM?
sdnqo3pr4#
Dockerfile.scratch文件存在许多问题。例如,它指向了错误的Miniconda3 URL。正确的格式应该是这样的:https://repo.anaconda.com/miniconda/Miniconda3-py311_24.3.0-0-MacOSX-arm64.sh,而不是脚本中使用的"... latest-Linux-x86_64 ..."。Miniconda3的最新版本使用了Python3.12,因此,其中包含的一些库与要求不兼容,因为它们最多需要Python3.11。
r8xiu3jd5#
我尝试在Oracle的ARM主机上运行并重建docker镜像。我移除了一些在ARM平台上不受支持的软件包,例如Aspose.Slides和N-card。因此,一些功能将不再可用,例如,不再支持Powerpoint文件。已更新requirements.txt和Dockerfile.scratch,附件中包含。
n9vozmp46#
我尝试在Oracle的ARM主机上运行并重建Docker镜像。我移除了一些在ARM平台上不受支持的软件包,例如Aspose.Slides和N-card。因此,一些功能将不再可用,例如Powerpoint文件不再受支持。已更新requirements.txt和Dockerfile.scratch。requirements.txtDockerfile.scratch.txt
它可以工作!
fumotvh37#
I tried to run it on Oracle's ARM host and rebuild docker image. I removed some packages which isn't supported on ARM platform such as Aspose.Slides and N-card. Therefore, Some features won't work any more, for example, Powerpoint file isn't support any more. Updated requirements.txt and Dockerfile.scratch are attached. requirements.txtDockerfile.scratch.txt
Excuse me. How to run zhe docker image with the changed files?
I just known how to use docker compose run the program in the docker folder
ijnw1ujt8#
它是否支持Mac M1芯片上的MPS?