chirpstack-docker/Makefile
2023-01-26 09:52:47 +00:00

7 lines
332 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/brocaar/lorawan-devices /tmp/lorawan-devices && \
chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'