mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
3bed3248d9
Use `--no-cache-dir` flag to `pip` in Dockerfiles, to save space Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
17 lines
420 B
Docker
17 lines
420 B
Docker
FROM ubuntu:xenial
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get -y update
|
|
RUN apt-get -y install collectd curl python-pip
|
|
|
|
# add a fake mtab for host disk stats
|
|
ADD etc_mtab /etc/mtab
|
|
|
|
ADD collectd.conf.tpl /etc/collectd/collectd.conf.tpl
|
|
|
|
RUN pip install --no-cache-dir envtpl
|
|
ADD start_container /usr/bin/start_container
|
|
RUN chmod +x /usr/bin/start_container
|
|
CMD start_container
|