Skip to content

Commit

Permalink
updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Apr 28, 2020
1 parent 9fe2e00 commit f4d9b14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nagios-plugins-perl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ ENV PATH $PATH:/github/nagios-plugins

WORKDIR /github/nagios-plugins

# trying to do -exec basename {} \; results in only the jython files being printed
CMD ["/bin/bash", "-c", "find /github/nagios-plugins -maxdepth 2 -type f -iname '[A-Za-z]*.pl' -o -iname '[A-Za-z]*.py' | grep -iv makefile | xargs -n1 basename | sort"]
COPY list_plugins.sh /

CMD ["/list_plugins.sh"]

0 comments on commit f4d9b14

Please sign in to comment.