summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Kelly <gordon.kelly@intel.com>2018-02-21 10:50:01 +0000
committerGordon Kelly <gordon.kelly@intel.com>2018-02-21 10:52:37 +0000
commit852d7e7ac02a0062b80f2559cadd35842a8e9085 (patch)
treefc7e4214fa5d8611e8a04c2e90517ff95599fd63
parent441dc55df6e051b145b04be756317085413149b3 (diff)
docker: add command to run run_collectd script on bring up
Change-Id: I509ee90f29115171e65b77dbba3081ae69aa0c8c Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
-rw-r--r--docker/barometer-collectd/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/barometer-collectd/Dockerfile b/docker/barometer-collectd/Dockerfile
index 585e5d05..895d3d08 100644
--- a/docker/barometer-collectd/Dockerfile
+++ b/docker/barometer-collectd/Dockerfile
@@ -22,3 +22,5 @@ RUN pip install -r ${openstack_plugins}/collectd-openstack-plugins/requirements.
COPY run_collectd.sh /run_collectd.sh
RUN chmod +x /run_collectd.sh
+
+ENTRYPOINT ["/run_collectd.sh"]