So could you tell me the real path string and the -v argument real string ? Or which directory in ondev should to be mapping to the host(using -v) for onedev-build?
Robin Shen commented 3 years ago
To avoid conflicting, each build should have its own hostBuildHome, this is the reason why hostBuildHome is generated via createTempDir.
It seems that the onedev install path should be mapped in docker command, right?
Robin Shen commented 3 years ago
This maps the host path seen by OneDev process to the actual path in your OS. Since docker sock is mounted into OneDev from OS and it can only recognize OS paths when mount paths to launch build container.
Robin Shenchanged state to 'Closed'3 years ago
Previous Value
Current Value
Open
Closed
Khose commented 3 years ago
Hi
One more question, could you tell me where and how the Bootstrap.installDir get its value?
hi
I found an error when I run my project build and it like below :
and my buildspec is like below :