当前操作:
设置了构建配置里面的,Dockerfile路径 以及 构建目录
原文件结构:
SomeDirectory
SomeDirectory/Dockerfile
SomeOtherDirectory
设置的Dockerfile路径为 SomeDirectory/Dockerfile
设置的构建目录为 SomeDirectory
同样的文件,我在本地测试使用
cd ProjectRoot
docker build -f SomeDirectory/Dockerfile SomeDirectory
可以编译通过。
错误详情:
[2019-04-02 00:45:38] Schedule build task.
[2019-04-02 00:45:41] Schedule build task succed.
[2019-04-02 00:45:41] Starting build.
Clone project ProjectPlaceHolder
Clone project ProjectPlaceHolder succeded.
Switch to commit CommitPlaceHolder
Switch to commit CommitPlaceHolder failed: chdir /data/build-workspace/ProjectPlaceHolder: no such file or directory
BUILD FAILED chdir /data/build-workspace/ProjectPlaceHolder: no such file or directory
[2019-04-02 00:46:22] Build failed.
相似问题