Skip to content

Commit

Permalink
Add ability to override command in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
myoung34 committed Mar 23, 2021
1 parent d74f910 commit 7592c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ COPY token.sh entrypoint.sh /
RUN chmod +x /token.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
CMD ["/actions-runner/bin/runsvc.sh"]
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ echo "Configuring"
unset RUNNER_TOKEN
trap deregister_runner SIGINT SIGQUIT SIGTERM

./bin/runsvc.sh
$@

0 comments on commit 7592c0e

Please sign in to comment.