File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ RUN curl -LO http://download.jetbrains.com/teamcity/TeamCity-$TEAMCITY_VERSION.w
13
13
&& unzip -qq TeamCity-$TEAMCITY_VERSION.war -d /tmp/teamcity \
14
14
&& unzip -qq /tmp/teamcity/update/buildAgent.zip -d /srv/teamcity-agent
15
15
16
- COPY start-agent.sh /srv/teamcity-agent/bin/
16
+ COPY start-agent.sh /srv/
17
17
18
18
RUN chmod +x /srv/teamcity-agent/bin/*.sh \
19
+ && chmod +x /srv/*.sh \
19
20
&& mv /srv/teamcity-agent/conf/buildAgent.dist.properties /srv/teamcity-agent/conf/buildAgent.properties \
20
21
21
22
&& rm -f TeamCity-$TEAMCITY_VERSION.war \
@@ -59,4 +60,4 @@ EXPOSE ${AGENT_PORT}
59
60
VOLUME /srv/teamcity-agent/conf
60
61
USER app
61
62
62
- CMD ["/srv/teamcity-agent/bin/ start-agent.sh" ]
63
+ CMD ["/srv/start-agent.sh" ]
You can’t perform that action at this time.
0 commit comments