Skip to content

Instantly share code, notes, and snippets.

@ariarijp
Created July 21, 2016 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ariarijp/e9f9ecc66990ad54ff3d249aeddfd68d to your computer and use it in GitHub Desktop.
Save ariarijp/e9f9ecc66990ad54ff3d249aeddfd68d to your computer and use it in GitHub Desktop.
mackerel-agent-pluginsをCentOS7に入れてみる確認
FROM centos:7
MAINTAINER ariarijp
RUN yum install -y sudo curl
RUN sed -i 's/Defaults requiretty/#Defaults requiretty/' /etc/sudoers
RUN curl -fsSL https://mackerel.io/assets/files/scripts/setup-yum.sh | sh
RUN yum install -y mackerel-agent-plugins
CMD mackerel-plugin-php-fpm -h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment