chirpstack-docker/Makefile

7 lines
327 B
Makefile

import-lorawan-devices:
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
apt-get update && \
apt-get install -y make git && \
git clone https://github.com/TheThingsNetwork/lorawan-devices /tmp/lorawan-devices && \
chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /tmp/lorawan-devices'