I run the agent in my machine and it works just perfect. Then I pushed my image to openshift, then I got some permission denied issue: ./start.sh: line 19: /vsts/.token: Permission denied
I tried to find how to give these permissions within OpenShift, but I was not able to find yet, someone has any idea?
我找到了解决方案,以 root 身份运行它并将权限传递给文件夹就行了。
USER root RUN chmod -R +x /vsts RUN chmod -R g+rwX /vsts
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.