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

View File

@@ -113,9 +113,7 @@ clean:
.PHONY: docker-image
docker-image:
./scripts/build.py --package --platform=linux --arch=amd64
cp build/telegraf*$(COMMIT)*.deb .
docker build -f scripts/dev.docker --build-arg "package=telegraf*$(COMMIT)*.deb" -t "telegraf-dev:$(COMMIT)" .
docker build -f scripts/stretch.docker -t "telegraf:$(COMMIT)" .
plugins/parsers/influx/machine.go: plugins/parsers/influx/machine.go.rl
ragel -Z -G2 $^ -o $@