blob: 1c2cb5f2c3aa818ce796e9a6a46380ee50b13fad (
plain)
1
2
3
4
|
#!/usr/bin/env bash
docker build -f paho.Dockerfile . --build-arg "HOST_HOSTNAME=$(ping -c1 "$(hostname).local" | head -n1 | grep -o '[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*')" -t paho-client
docker run -it paho-client
|