Docker 构建虚幻镜像错误(CorruptPackFileException)(步骤 28)

Docker 构建虚幻镜像错误(CorruptPackFileException)(步骤 28)

我想为 Unreal Carla 项目构建 docker 镜像。

为此,我遇到了以下命令:

ue4-docker build 4.22.2 --no-engine --no-minimal

我收到以下错误:

 Step 28/34 : RUN ./Setup.sh && echo '' && echo 'RUN directive complete. 
 ---> Running in 9734d2ffdb00
.... 

Registering git hooks... (this will override existing ones!)
Fixing inconsistent case in filenames.
Setting up Mono
Checking dependencies...

Updating dependencies:  18% (12936/41030), 1702.0/9123.9 MiB | 5.04 MiB/s... 
Failed to download 'http://cdn.unrealengine.com/dependencies/3215544-fbbce13ceb6f4aaea59e20af2d659d08/36799aacce147eba397f6eacc7a0f6c9dac946d8': 

Can't read from pack stream (CorruptPackFileException)
Result: 1

The command '/bin/sh -c ./Setup.sh && echo '' && echo 'RUN directive complete. Docker will now commit the filesystem layer to disk.' && echo 'Note that for large filesystem layers this can take quite some time.' && echo 'Performing filesystem layer commit...' && echo ''' returned a non-zero code: 1

[ue4-docker build] Error: failed to build image "adamrehn/ue4-source:4.22.2-opengl".

我猜主要问题在于CorruptPackFileException。不幸的是我不知道该如何处理。

有人能帮我吗?

先感谢您。

相关内容