为脚本添加执行权限。

This commit is contained in:
LamGC 2023-03-27 13:04:18 +08:00
parent 536344d7c7
commit 469be0a1a9
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -5,6 +5,7 @@ FROM jenkins/inbound-agent:${BASE_TAG}
USER root USER root
COPY start-agent.sh /usr/local/bin/start.sh COPY start-agent.sh /usr/local/bin/start.sh
RUN chmod 755 /usr/local/bin/start.sh
ENTRYPOINT [ "/usr/local/bin/start.sh" ] ENTRYPOINT [ "/usr/local/bin/start.sh" ]
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \