Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #115 from eyalzek/master
Browse files Browse the repository at this point in the history
Add the executable flag to `jenkins-agent` binary (regression in 3.25-3)
  • Loading branch information
oleg-nenashev authored Sep 20, 2019
2 parents be6a2c1 + ba0ce87 commit 903d31b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ ARG user=jenkins

USER root
COPY jenkins-agent /usr/local/bin/jenkins-agent
RUN ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
RUN chmod +x /usr/local/bin/jenkins-agent &&\
ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
USER ${user}

ENTRYPOINT ["jenkins-agent"]
3 changes: 2 additions & 1 deletion Dockerfile-alpine
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ ARG user=jenkins

USER root
COPY jenkins-agent /usr/local/bin/jenkins-agent
RUN ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
RUN chmod +x /usr/local/bin/jenkins-agent &&\
ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
USER ${user}

ENTRYPOINT ["jenkins-slave"]
3 changes: 2 additions & 1 deletion Dockerfile-jdk11
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ ARG user=jenkins

USER root
COPY jenkins-agent /usr/local/bin/jenkins-agent
RUN ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
RUN chmod +x /usr/local/bin/jenkins-agent &&\
ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
USER ${user}

ENTRYPOINT ["jenkins-slave"]

0 comments on commit 903d31b

Please sign in to comment.