various issues fixing (#49)

* arm64 Dockerfile and Makefile update
* #46 version flag
This commit is contained in:
Steve Brunton
2019-09-02 14:51:14 -04:00
committed by GitHub
parent f1f09b42bb
commit 9bb5a0cee6
4 changed files with 41 additions and 15 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/sh
if [ ! -x /app/mikrotik-exporter ]; then
chmod 755 /app/mikrotik-expoter
fi
if [ -z "$CONFIG_FILE" ]
then
/app/mikrotik-exporter -device $DEVICE -address $ADDRESS -user $USER -password $PASSWORD