Place docker files in scripts and update makefile

This commit is contained in:
Daniel Nelson
2018-10-11 00:05:51 -07:00
parent eece559fe7
commit 8a03a21de2
5 changed files with 5 additions and 15 deletions

8
scripts/docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e
if [ "${1:0:1}" = '-' ]; then
set -- telegraf "$@"
fi
exec "$@"