Dockerfile 405 B

12345678910111213141516
  1. FROM ubuntu:xenial
  2. ENV DEBIAN_FRONTEND noninteractive
  3. RUN apt-get -y update
  4. RUN apt-get -y install collectd curl python-pip
  5. # add a fake mtab for host disk stats
  6. ADD etc_mtab /etc/mtab
  7. ADD collectd.conf.tpl /etc/collectd/collectd.conf.tpl
  8. RUN pip install envtpl
  9. ADD start_container /usr/bin/start_container
  10. RUN chmod +x /usr/bin/start_container
  11. CMD start_container