Created
January 25, 2016 15:43
-
-
Save kgorskowski/a0cc7e5d518fdb94c517 to your computer and use it in GitHub Desktop.
Dockerfile for SystemdMon on Alpine Linux (slack only)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk add --update ruby ruby-dev curl ruby-rdoc ruby-irb && rm /var/cache/apk/* | |
RUN gem update --system && gem install systemd_mon slack-notifier --no-ri --no-rdoc | |
RUN curl -fsSL curl.haxx.se/ca/cacert.pem -o "$(ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE')" | |
CMD ["systemd_mon","/systemd_mon/systemd_mon.yml"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment