projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92111a2
)
contrib/docker/: Separate CMD/ENTRYPOINT.
author
Florian Forster
<octo@collectd.org>
Thu, 7 Feb 2019 07:46:01 +0000
(08:46 +0100)
committer
Florian Forster
<octo@collectd.org>
Thu, 7 Feb 2019 07:46:01 +0000
(08:46 +0100)
This allows users to pass different flags to collectd.
contrib/docker/Dockerfile
patch
|
blob
|
history
diff --git
a/contrib/docker/Dockerfile
b/contrib/docker/Dockerfile
index
0346c68
..
fcb46b1
100644
(file)
--- a/
contrib/docker/Dockerfile
+++ b/
contrib/docker/Dockerfile
@@
-21,4
+21,5
@@
COPY collectd.conf.d /etc/collectd/collectd.conf.d
ENV LD_PRELOAD /usr/src/rootfs_prefix/rootfs_prefix.so
-CMD [ "/usr/sbin/collectd", "-f"]
+ENTRYPOINT ["/usr/sbin/collectd"]
+CMD ["-f"]